Discord Player

getVoiceConnection

Finds a voice connection with the given guild id and group. Defaults to the default group.

getVoiceConnection(guildId, group?): VoiceConnection | undefined

Finds a voice connection with the given guild id and group. Defaults to the 'default' group.

ParameterTypeOptionalDescription
guildIdstringThe guild id of the voice connection
groupstringthe group that the voice connection was registered with

On this page