mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 17:13:31 +01:00
voice: Guild.voiceConnection => Guild.voice.connection
This commit is contained in:
@@ -171,7 +171,7 @@ class VoiceConnection extends EventEmitter {
|
||||
* @type {VoiceState}
|
||||
*/
|
||||
get voice() {
|
||||
return this.channel.guild.voiceStates.get(this.client.user.id);
|
||||
return this.channel.guild.voice;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user