Skip to content

ManagerOptions

Defined in: src/structures/Types/Manager.ts:248

Manager Options used to create the manager

PropertyTypeDescriptionDefined in
advancedOptions?objectAdvanced Options for the Library, which may or may not be “library breaking”src/structures/Types/Manager.ts:274
advancedOptions.debugOptions?objectoptionalsrc/structures/Types/Manager.ts:280
advancedOptions.debugOptions.logCustomSearches?booleanFor logging custom searchessrc/structures/Types/Manager.ts:282
advancedOptions.debugOptions.noAudio?booleanlogs for debugging the “no-Audio” playing errorsrc/structures/Types/Manager.ts:284
advancedOptions.debugOptions.playerDestroy?objectFor Logging the Destroy functionsrc/structures/Types/Manager.ts:286
advancedOptions.debugOptions.playerDestroy.debugLog?booleanTo show the debug reason at all times.src/structures/Types/Manager.ts:288
advancedOptions.debugOptions.playerDestroy.dontThrowError?booleanIf you get ‘Error: Use Player#destroy(“reason”) not LavalinkManager#deletePlayer() to stop the Player’ put it on truesrc/structures/Types/Manager.ts:290
advancedOptions.enableDebugEvents?booleanEnable Debug eventsrc/structures/Types/Manager.ts:278
advancedOptions.maxFilterFixDuration?numberMax duration for that the filter fix duration works (in ms) - default is 8minssrc/structures/Types/Manager.ts:276
autoMove?booleanIf it should automatically move the player to the next node when node is downsrc/structures/Types/Manager.ts:262
autoSkip?booleanIf it should skip to the next Track on TrackEnd / TrackError etc. eventssrc/structures/Types/Manager.ts:260
autoSkipOnResolveError?booleanIf it should skip to the next Track if track.resolve errors while trying to play a track.src/structures/Types/Manager.ts:264
client?BotClientOptionsThe Bot Client’s Data for Authorizationsrc/structures/Types/Manager.ts:254
emitNewSongsOnly?booleanIf it should emit only new (unique) songs and not when a looping track (or similar) is plaid, default falsesrc/structures/Types/Manager.ts:266
linksAllowed?booleanIf 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:272
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:270
linksWhitelist?(string | RegExp)[]Only allow link requests with links either matching some of that regExp or including some of that stringsrc/structures/Types/Manager.ts:268
nodesLavalinkNodeOptions[]The Node Options, for all Nodes! (on init)src/structures/Types/Manager.ts:250
playerOptions?ManagerPlayerOptionsPlayerOptions for all Playerssrc/structures/Types/Manager.ts:258
queueOptions?ManagerQueueOptionsQueueOptions for all Queuessrc/structures/Types/Manager.ts:256
sendToShard(guildId: string, payload: GuildShardPayload) => voidAsync The Function to send the voice connection changes from Lavalink to Discordsrc/structures/Types/Manager.ts:252