Skip to content

PlayOptions

Defined in: src/structures/Types/Player.ts:115

PropertyTypeDescriptionInherited fromDefined in
clientTrack?| UnresolvedTrack | TrackAdds track on queue and skips to it-src/structures/Types/Player.ts:119
endTime?numberThe position to end the track.LavalinkPlayOptions.endTimesrc/structures/Types/Player.ts:92
filters?Partial<LavalinkFilterData>The Lavalink Filters to useonly with the new REST APILavalinkPlayOptions.filters
noReplace?booleanWhether to not replace the track if a play payload is sent.-src/structures/Types/Player.ts:117
paused?booleanIf to start “paused”LavalinkPlayOptions.pausedsrc/structures/Types/Player.ts:94
position?numberThe position to start the track.LavalinkPlayOptions.positionsrc/structures/Types/Player.ts:90
track?objectWhich Track to playdon’t provide, if it should pick from the QueueLavalinkPlayOptions.track
track.encoded?stringThe track encoded base64 string to use instead of the one from the queue system-src/structures/Types/Player.ts:106
track.identifier?stringThe identifier of the track to use-src/structures/Types/Player.ts:108
track.requester?unknownThe Track requester for when u provide encodedTrack / identifer-src/structures/Types/Player.ts:112
track.userData?anyObjectCustom User Data for the track to provide, will then be on the userData object from the track-src/structures/Types/Player.ts:110
voice?LavalinkPlayerVoiceOptionsVoice Update for LavalinkLavalinkPlayOptions.voicesrc/structures/Types/Player.ts:100
volume?numberThe Volume to start withLavalinkPlayOptions.volumesrc/structures/Types/Player.ts:96