PlayOptions
Defined in: src/structures/Types/Player.ts:115
Extends
Section titled “Extends”Properties
Section titled “Properties”Property (defined in) | Type | Description |
---|---|---|
clientTrack? (Adds track on queue and skips to it) | \ | UnresolvedTrack \ |
endTime? (src/structures/Types/Player.ts:92) | number | The position to end the track. |
filters? ( LavalinkPlayOptions .filters ) | Partial <LavalinkFilterData > | The Lavalink Filters to use |
noReplace? (src/structures/Types/Player.ts:117) | boolean | Whether to not replace the track if a play payload is sent. |
paused? (src/structures/Types/Player.ts:94) | boolean | If to start “paused” |
position? (src/structures/Types/Player.ts:90) | number | The position to start the track. |
track? ( LavalinkPlayOptions .track ) | object | Which Track to play |
track.encoded? (src/structures/Types/Player.ts:106) | string | The track encoded base64 string to use instead of the one from the queue system |
track.identifier? (src/structures/Types/Player.ts:108) | string | The identifier of the track to use |
track.requester? (src/structures/Types/Player.ts:112) | unknown | The Track requester for when u provide encodedTrack / identifer |
track.userData? (src/structures/Types/Player.ts:110) | anyObject | Custom User Data for the track to provide, will then be on the userData object from the track |
voice? (src/structures/Types/Player.ts:100) | LavalinkPlayerVoiceOptions | Voice Update for Lavalink |
volume? (src/structures/Types/Player.ts:96) | number | The Volume to start with |