🎵Player

Represents a Player instance

Constructor

new Player(options)

Properties

Methods

connect()

Connects the bot to the voice channel

disconnect()

Disconnects the bot from the voice channel

destroy()

Destroys the player and disconnects the bot from the voice channel

moveNode()

Moves the player to another lavalink node

pause()

Pauses or resumes the player

ping()

Gets the latency between discord voice gateway & lavalink node.

play()

Plays a track

seek()

Seek to a specific position in the track

setSelfDeaf()

Sets the bot's deaf state

setSelfMute()

Sets the bot's mute state

setTrackLoop()

Toggles the track repeating

setQueueLoop()

Toggles the queue repeating

setVoiceChannel()

Sets the player voice channel

shuffleQueue() (DEPRECATED) Use player.queue.shuffle()

Shuffles the queue

skip()

Last updated