mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 14:02:02 +00:00
Fix a thing Gus noticed
This commit is contained in:
parent
1aed3de647
commit
cc9e484276
1 changed files with 1 additions and 1 deletions
|
|
@ -728,7 +728,7 @@ class Guild {
|
|||
const member = new GuildMember(this, guildUser);
|
||||
this.members.set(member.id, member);
|
||||
|
||||
if (this._rawVoiceStates && this._rawVoiceStates.get(member.user.id)) {
|
||||
if (this._rawVoiceStates && this._rawVoiceStates.has(member.user.id)) {
|
||||
const voiceState = this._rawVoiceStates.get(member.user.id);
|
||||
member.serverMute = voiceState.mute;
|
||||
member.serverDeaf = voiceState.deaf;
|
||||
|
|
|
|||
Loading…
Reference in a new issue