diff --git a/src/structures/VoiceState.js b/src/structures/VoiceState.js index ebe104747..88e0ed196 100644 --- a/src/structures/VoiceState.js +++ b/src/structures/VoiceState.js @@ -58,7 +58,7 @@ class VoiceState extends Base { * @type {?GuildMember} */ get member() { - return this.guild.members.get(this.id); + return this.guild.members.get(this.id) || null; } /** @@ -66,7 +66,7 @@ class VoiceState extends Base { * @type {?VoiceChannel} */ get channel() { - return this.guild.channels.get(this.channelID); + return this.guild.channels.get(this.channelID) || null; } /**