From cc9e4842763bd568dc87093f941255317a1c89f9 Mon Sep 17 00:00:00 2001 From: Schuyler Cebulskie Date: Sun, 27 Nov 2016 16:23:07 -0500 Subject: [PATCH] Fix a thing Gus noticed --- src/structures/Guild.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/Guild.js b/src/structures/Guild.js index bfa8406f8..296adb4b8 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -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;