Player
Table of Contentsโ
Class Definitionโ
export class Player {}
Propertiesโ
Property Type Description autoplayTriesnumber The number of autoplay tries. bandsEqualizerBand[]The equalizer bands. clusterIdnumber The cluster ID. dynamicRepeatboolean The dynamic repeat state. filtersFiltersThe filters. guildIdstring The guild ID the Player belongs to. isAutoplayboolean Whether autoplay is enabled. managerManagerThe Manager instance. nodeNodeThe Node instance. nowPlayingMessageAnyMessageThe now playing message. pausedboolean Whether the player is paused. playingboolean Whether the player is playing. positionnumber The player position. queueQueueThe queue. queueRepeatboolean The queue repeat state. stateStateTypesThe player state. textChannelIdstring The text channel id the Player is bound to. trackRepeatboolean The track repeat state. voiceChannelIdstring The voice channel id the Player is bound to. voiceStateVoiceStateThe voice state the Player is in. volumenumber The player volume.
Constructorโ
new Player(options: PlayerOptions)
Parameter Type Description Optional optionsPlayerOptionsThe player options.
Methodsโ
autoMoveNode()โ
async autoMoveNode(): Promise<Player | void>Automatically moves the player to an usable node.
Returns