Skip to content

ManagerOptions

Manager Options used to create the manager

Properties

PropertyTypeDescriptionDefined in
advancedOptions?objectAdvanced Options for the Library, which may or may not be “library breaking”src/structures/Types/Manager.ts:266
advancedOptions.debugOptions?objectoptionalsrc/structures/Types/Manager.ts:272
advancedOptions.debugOptions.logCustomSearches?booleanFor logging custom searchessrc/structures/Types/Manager.ts:274
advancedOptions.debugOptions.noAudio?booleanlogs for debugging the “no-Audio” playing errorsrc/structures/Types/Manager.ts:276
advancedOptions.debugOptions.playerDestroy?objectFor Logging the Destroy functionsrc/structures/Types/Manager.ts:278
advancedOptions.debugOptions.playerDestroy.debugLog?booleanTo show the debug reason at all times.src/structures/Types/Manager.ts:280
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:282
advancedOptions.enableDebugEvents?booleanEnable Debug eventsrc/structures/Types/Manager.ts:270
advancedOptions.maxFilterFixDuration?numberMax duration for that the filter fix duration works (in ms) - default is 8minssrc/structures/Types/Manager.ts:268
autoSkip?booleanIf it should skip to the next Track on TrackEnd / TrackError etc. eventssrc/structures/Types/Manager.ts:254
autoSkipOnResolveError?booleanIf it should skip to the next Track if track.resolve errors while trying to play a track.src/structures/Types/Manager.ts:256
client?BotClientOptionsThe Bot Client’s Data for Authorizationsrc/structures/Types/Manager.ts:248
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:258
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: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 stringsrc/structures/Types/Manager.ts:260
nodesLavalinkNodeOptions[]The Node Options, for all Nodes! (on init)src/structures/Types/Manager.ts:244
playerOptions?ManagerPlayerOptionsPlayerOptions for all Playerssrc/structures/Types/Manager.ts:252
queueOptions?ManagerQueueOptionsQueueOptions for all Queuessrc/structures/Types/Manager.ts:250
sendToShard(guildId: string, payload: GuildShardPayload) => voidAsync The Function to send the voice connection changes from Lavalink to Discordsrc/structures/Types/Manager.ts:246