voice: remove Guild.voiceConnection and VoiceChannel.connection

This commit is contained in:
Amish Shah
2019-04-29 19:29:16 +01:00
parent dd44647537
commit bcb0cd838b
4 changed files with 3 additions and 24 deletions

View File

@@ -13,7 +13,7 @@ const PlayInterface = require('./util/PlayInterface');
* const broadcast = client.voice.createBroadcast();
* broadcast.play('./music.mp3');
* // Play "music.mp3" in all voice connections that the client is in
* for (const connection of client.voiceConnections.values()) {
* for (const connection of client.voice.connections.values()) {
* connection.play(broadcast);
* }
* ```