ManagerOptions
Manager Options used to create the manager
Properties
Property | Type | Description | Defined in |
---|---|---|---|
advancedOptions? | object | Advanced Options for the Library, which may or may not be “library breaking” | src/structures/Types/Manager.ts:266 |
advancedOptions.debugOptions? | object | optional | src/structures/Types/Manager.ts:272 |
advancedOptions.debugOptions.logCustomSearches? | boolean | For logging custom searches | src/structures/Types/Manager.ts:274 |
advancedOptions.debugOptions.noAudio? | boolean | logs for debugging the “no-Audio” playing error | src/structures/Types/Manager.ts:276 |
advancedOptions.debugOptions.playerDestroy? | object | For Logging the Destroy function | src/structures/Types/Manager.ts:278 |
advancedOptions.debugOptions.playerDestroy.debugLog? | boolean | To show the debug reason at all times. | src/structures/Types/Manager.ts:280 |
advancedOptions.debugOptions.playerDestroy.dontThrowError? | boolean | If you get ‘Error: Use Player#destroy(“reason”) not LavalinkManager#deletePlayer() to stop the Player’ put it on true | src/structures/Types/Manager.ts:282 |
advancedOptions.enableDebugEvents? | boolean | Enable Debug event | src/structures/Types/Manager.ts:270 |
advancedOptions.maxFilterFixDuration? | number | Max duration for that the filter fix duration works (in ms) - default is 8mins | src/structures/Types/Manager.ts:268 |
autoSkip? | boolean | If it should skip to the next Track on TrackEnd / TrackError etc. events | src/structures/Types/Manager.ts:254 |
autoSkipOnResolveError? | boolean | If it should skip to the next Track if track.resolve errors while trying to play a track. | src/structures/Types/Manager.ts:256 |
client? | BotClientOptions | The Bot Client’s Data for Authorization | src/structures/Types/Manager.ts:248 |
emitNewSongsOnly? | boolean | If it should emit only new (unique) songs and not when a looping track (or similar) is plaid, default false | src/structures/Types/Manager.ts:258 |
linksAllowed? | boolean | If links should be allowed or not. If set to false, it will throw an error if a link was provided. | src/structures/Types/Manager.ts:264 |
linksBlacklist? | (string | RegExp )[] | Never allow link requests with links either matching some of that regExp or including some of that string (doesn’t even allow if it’s whitelisted) | src/structures/Types/Manager.ts:262 |
linksWhitelist? | (string | RegExp )[] | Only allow link requests with links either matching some of that regExp or including some of that string | src/structures/Types/Manager.ts:260 |
nodes | LavalinkNodeOptions [] | The Node Options, for all Nodes! (on init) | src/structures/Types/Manager.ts:244 |
playerOptions? | ManagerPlayerOptions | PlayerOptions for all Players | src/structures/Types/Manager.ts:252 |
queueOptions? | ManagerQueueOptions | QueueOptions for all Queues | src/structures/Types/Manager.ts:250 |
sendToShard | (guildId : string , payload : GuildShardPayload ) => void | Async The Function to send the voice connection changes from Lavalink to Discord | src/structures/Types/Manager.ts:246 |