Skip to content

PlayOptions

Extends

Properties

PropertyTypeDescriptionInherited fromDefined in
clientTrack?UnresolvedTrack | TrackAdds track on queue and skips to it-src/structures/Types/Player.ts:117
endTime?numberThe position to end the track.LavalinkPlayOptions.endTimesrc/structures/Types/Player.ts:90
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:115
paused?booleanIf to start “paused”LavalinkPlayOptions.pausedsrc/structures/Types/Player.ts:92
position?numberThe position to start the track.LavalinkPlayOptions.positionsrc/structures/Types/Player.ts:88
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:104
track.identifier?stringThe identifier of the track to use-src/structures/Types/Player.ts:106
track.requester?unknownThe Track requester for when u provide encodedTrack / identifer-src/structures/Types/Player.ts:110
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:108
voice?LavalinkPlayerVoiceOptionsVoice Update for LavalinkLavalinkPlayOptions.voicesrc/structures/Types/Player.ts:98
volume?numberThe Volume to start withLavalinkPlayOptions.volumesrc/structures/Types/Player.ts:94