mirror of
https://github.com/danbulant/discord.js
synced 2026-07-13 07:00:44 +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() {
|
get members() {
|
||||||
return new Collection(this.guild.voiceStates
|
return new Collection(this.guild.voiceStates
|
||||||
.filter(state => state.channelID === this.id && state.member)
|
.filter(state => state.channelID === this.id && state.member)
|
||||||
.map(state => state.member));
|
.map(state => [state.id, state.member]));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue