PlayOptions
Defined in: src/structures/Types/Player.ts:116
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:91) | number | The position to end the track. |
filters? ( LavalinkPlayOptions.filters) | Partial<LavalinkFilterData> | The Lavalink Filters to use |
noReplace? (src/structures/Types/Player.ts:118) | boolean | Whether to not replace the track if a play payload is sent. |
paused? (src/structures/Types/Player.ts:93) | boolean | If to start “paused” |
position? (src/structures/Types/Player.ts:89) | number | The position to start the track. |
track? ( LavalinkPlayOptions.track) | object | Which Track to play |
track.audioTrackId? (src/structures/Types/Player.ts:113) | string | NodeLink Specific audioTrackId option |
track.encoded? (src/structures/Types/Player.ts:105) | string | The track encoded base64 string to use instead of the one from the queue system |
track.identifier? (src/structures/Types/Player.ts:107) | string | The identifier of the track to use |
track.requester? (src/structures/Types/Player.ts:111) | unknown | The Track requester for when u provide encodedTrack / identifer |
track.userData? (src/structures/Types/Player.ts:109) | 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:99) | LavalinkPlayerVoiceOptions | Voice Update for Lavalink |
volume? (src/structures/Types/Player.ts:95) | number | The Volume to start with |