diff --git a/src/structures/GuildMember.js b/src/structures/GuildMember.js index 9b6beee74..3f0a40cf5 100644 --- a/src/structures/GuildMember.js +++ b/src/structures/GuildMember.js @@ -96,6 +96,11 @@ class GuildMember extends Base { return (channel && channel.messages.get(this.lastMessageID)) || null; } + /** + * The voice state of this member + * @type {VoiceState} + * @readonly + */ get voice() { return this.guild.voiceStates.get(this.id) || new VoiceState(this.guild, { user_id: this.id }); }