LithiumX / ManagerOptions
Interface: ManagerOptions
Defined in: src/Structures/Manager.ts:399
Properties
autoPlay?
optionalautoPlay:boolean
Defined in: src/Structures/Manager.ts:415
Whether players should automatically play the next song.
caches
caches:
object
Defined in: src/Structures/Manager.ts:422
enabled
enabled:
boolean
Whether to cache the search results.
time
time:
number
The time to cache the search results.
clientId?
optionalclientId:string
Defined in: src/Structures/Manager.ts:407
The client ID to use.
clientName?
optionalclientName:string
Defined in: src/Structures/Manager.ts:409
Value to use for the Client-Name header.
defaultSearchPlatform?
optionaldefaultSearchPlatform:SearchPlatform
Defined in: src/Structures/Manager.ts:419
The default search platform to use, can be "youtube", "youtube music", "soundcloud" or deezer.
nodes?
optionalnodes:NodeOptions[]
Defined in: src/Structures/Manager.ts:405
The array of nodes to connect to.
plugins?
optionalplugins:Plugin[]
Defined in: src/Structures/Manager.ts:413
A array of plugins to use.
replaceYouTubeCredentials?
optionalreplaceYouTubeCredentials:boolean
Defined in: src/Structures/Manager.ts:421
Whether the YouTube video titles should be replaced if the Author does not exactly match.
shards?
optionalshards:number
Defined in: src/Structures/Manager.ts:411
The shard count.
trackPartial?
optionaltrackPartial:string[]
Defined in: src/Structures/Manager.ts:417
An array of track properties to keep. track will always be present.
useNode?
optionaluseNode:"leastLoad"|"leastPlayers"
Defined in: src/Structures/Manager.ts:403
Use the least amount of players or least load?
usePriority?
optionalusePriority:boolean
Defined in: src/Structures/Manager.ts:401
Use priority mode over least amount of player or load?
Methods
send()
send(
id,payload):void
Defined in: src/Structures/Manager.ts:433
Function to send data to the websocket.
Parameters
id
string
payload
Returns
void