The options to use for the player.
The player's node.
The player's manager.
The player's current voice channel.
The player's filters.
If the player is a speaker. This is null if the player isn't connected, if the becomeSpeaker option is false, or if the channel is not a stage channel. This is initially set when running Player#connect().
If the voice channel is a stage. This is set when running Player#connect().
The queue's loop behavior.
The player's options.
The position in the track playing, in milliseconds. This is null if no track is playing.
The queue.
The current song playing, represented as an index of Player#queue. This is null if there isn't a song currently playing.
The player's state.
The player's volume.
The current track playing.
If the player is paused.
If the player is playing a track.
Clear the queue.
If true, if a track is currently playing it will be stopped and removed from the queue. If false, if a track is playing it will be preserved. Defaults to false.
Connect to a voice channel. The player must be in a disconnected state.
Destroy the player.
The reason the player was destroyed.
Pause a track.
Queue and play a track or tracks. If a track is already playing, the specified track(s) will only be pushed to the queue.
The track or track partial to queue and play.
Play options.
The track played.
Remove a track from the queue.
The index of the track to remove.
If the queue should advance if the removed track is the current track playing. If false, the player will be stopped. Defaults to true.
The removed track.
Resume a track.
Seek to a desired position.
The position in the track to seek to, in milliseconds.
Set the player's filters.
The filters to use. An empty object clears filters.
Set the queue's loop behavior.
The loop type to use.
Set the player's volume.
The volume to set the player to.
Shuffles the queue and starts playing the first track.
Skip to the next track based on the player's loop behavior, or to a specified index of the queue.
The index to skip to.
Stop the player.
Generated using TypeDoc
Create a player.