mirror of
https://github.com/danbulant/discord.js
synced 2026-07-12 22:50:40 +00:00
parent
b7e61f21ca
commit
c1183f3534
1 changed files with 1 additions and 1 deletions
|
|
@ -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]));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue