From c1183f353405444b11a071fb6b680c70f00a7f1f Mon Sep 17 00:00:00 2001 From: Jacz Date: Sun, 12 Aug 2018 11:16:34 +1000 Subject: [PATCH] Fixes VoiceChannel.members bug Closes #2736 --- src/structures/VoiceChannel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/VoiceChannel.js b/src/structures/VoiceChannel.js index 17d1ef502..5e9d61218 100644 --- a/src/structures/VoiceChannel.js +++ b/src/structures/VoiceChannel.js @@ -32,7 +32,7 @@ class VoiceChannel extends GuildChannel { get members() { return new Collection(this.guild.voiceStates .filter(state => state.channelID === this.id && state.member) - .map(state => state.member)); + .map(state => [state.id, state.member])); } /**