Skip to main content
Version: v2.7.5

Player typedefs

playerOptions

Parameter Type Description
selfDeafenbooleanIf the player should deaf itself.
selfMutebooleanIf the player should mute itself.
nodestring as NodeIdentifierThe node the Player uses.
textChannelstring as GuildTextChannelIDThe text channel the Player belongs to.
volumenumberThe initial volume the Player will use.
voiceChannelstring as GuildVoiceChannelIDThe voice channel the Player belongs to.
guildIdstring as GuildIDThe guild ID the Player belongs to.

playerStateUpdate

Parameter Type
changeTypePlayerStateEventTypes
detailsPlayerStateUpdateDetails

PlayerStateUpdateDetails

Parameter Type
previousAutoplayboolean
currentAutoplayboolean