Fixes VoiceChannel.members bug

Closes #2736
This commit is contained in:
Jacz
2018-08-12 11:16:34 +10:00
committed by Amish Shah
parent b7e61f21ca
commit c1183f3534

View File

@@ -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]));
}
/**