ShoukakuOptions
This content is for the 3.4.2 version. Switch to the latest version for up-to-date documentation.
Properties
alwaysSendResumeKey?
optionalalwaysSendResumeKey:boolean
Disables the first time initialization tracking of nodes, and just sends the resume key always (Note: Useful for people who save their players to redis and wants to resume sessions even at first boot)
Defined in
moveOnDisconnect?
optionalmoveOnDisconnect:boolean
Whether to move players to a different Lavalink node when a node disconnects
Defined in
reconnectInterval?
optionalreconnectInterval:number
Timeout before trying to reconnect
Defined in
reconnectTries?
optionalreconnectTries:number
Number of times to try and reconnect to Lavalink before giving up
Defined in
restTimeout?
optionalrestTimeout:number
Time to wait for a response from the Lavalink REST API before giving up
Defined in
resume?
optionalresume:boolean
Whether to resume a connection on disconnect to Lavalink (Server Side) (Note: DOES NOT RESUME WHEN THE LAVALINK SERVER DIES)
Defined in
resumeByLibrary?
optionalresumeByLibrary:boolean
Whether to resume the players by doing it in the library side (Client Side) (Note: TRIES TO RESUME REGARDLESS OF WHAT HAPPENED ON A LAVALINK SERVER)
Defined in
resumeKey?
optionalresumeKey:string
Resume key for Lavalink
Defined in
resumeTimeout?
optionalresumeTimeout:number
Time to wait before lavalink starts to destroy the players of the disconnected client
Defined in
structures?
optionalstructures:Structures
Custom structures for shoukaku to use
Defined in
userAgent?
optionaluserAgent:string
User Agent to use when making requests to Lavalink