ManagerOptions
Defined in: src/structures/Types/Manager.ts:340
Manager Options used to create the manager
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
CustomPlayerT extends Player | Player |
Properties
Section titled “Properties”| Property (defined in) | Type | Description |
|---|---|---|
advancedOptions? (src/structures/Types/Manager.ts:368) | object | Advanced Options for the Library, which may or may not be “library breaking” |
advancedOptions.debugOptions? (src/structures/Types/Manager.ts:374) | object | optional |
advancedOptions.debugOptions.logCustomSearches? (src/structures/Types/Manager.ts:376) | boolean | For logging custom searches |
advancedOptions.debugOptions.noAudio? (src/structures/Types/Manager.ts:378) | boolean | logs for debugging the “no-Audio” playing error |
advancedOptions.debugOptions.playerDestroy? (src/structures/Types/Manager.ts:380) | object | For Logging the Destroy function |
advancedOptions.debugOptions.playerDestroy.debugLog? (src/structures/Types/Manager.ts:382) | boolean | To show the debug reason at all times. |
advancedOptions.debugOptions.playerDestroy.dontThrowError? (src/structures/Types/Manager.ts:384) | boolean | If you get ‘Error: Use Player#destroy(“reason”) not LavalinkManager#deletePlayer() to stop the Player’ put it on true |
advancedOptions.enableDebugEvents? (src/structures/Types/Manager.ts:372) | boolean | Enable Debug event |
advancedOptions.maxFilterFixDuration? (src/structures/Types/Manager.ts:370) | number | Max duration for that the filter fix duration works (in ms) - default is 8mins |
autoMove? (src/structures/Types/Manager.ts:356) | boolean | If it should automatically move the player to the next node when node is down |
autoSkip? (src/structures/Types/Manager.ts:354) | boolean | If it should skip to the next Track on TrackEnd / TrackError etc. events |
autoSkipOnResolveError? (src/structures/Types/Manager.ts:358) | boolean | If it should skip to the next Track if track.resolve errors while trying to play a track. |
client? (src/structures/Types/Manager.ts:346) | BotClientOptions | The Bot Client’s Data for Authorization |
emitNewSongsOnly? (src/structures/Types/Manager.ts:360) | boolean | If it should emit only new (unique) songs and not when a looping track (or similar) is plaid, default false |
linksAllowed? (src/structures/Types/Manager.ts:366) | boolean | If links should be allowed or not. If set to false, it will throw an error if a link was provided. |
linksBlacklist? (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)) | (string \ | RegExp)[] |
linksWhitelist? (Only allow link requests with links either matching some of that regExp or including some of that string) | (string \ | RegExp)[] |
nodes (src/structures/Types/Manager.ts:342) | LavalinkNodeOptions[] | The Node Options, for all Nodes! (on init) |
playerClass? (src/structures/Types/Manager.ts:352) | PlayerConstructor<CustomPlayerT> | The player class you want to use when creating a player. (can be extendable) |
playerOptions? (src/structures/Types/Manager.ts:350) | ManagerPlayerOptions<CustomPlayerT> | PlayerOptions for all Players |
queueOptions? (src/structures/Types/Manager.ts:348) | ManagerQueueOptions | QueueOptions for all Queues |
sendToShard (src/structures/Types/Manager.ts:344) | (guildId: string, payload: GuildShardPayload) => void | Async The Function to send the voice connection changes from Lavalink to Discord |