diff --git a/src/structures/CategoryChannel.js b/src/structures/CategoryChannel.js index b9d3ceff2..5766a4a75 100644 --- a/src/structures/CategoryChannel.js +++ b/src/structures/CategoryChannel.js @@ -6,7 +6,7 @@ const GuildChannel = require('./GuildChannel'); */ class CategoryChannel extends GuildChannel { /** - * Channels that are part of this category + * Channels that are a part of this category * @type {?Collection} * @readonly */ diff --git a/src/structures/GuildMember.js b/src/structures/GuildMember.js index 19373adac..3f609ddde 100644 --- a/src/structures/GuildMember.js +++ b/src/structures/GuildMember.js @@ -22,7 +22,7 @@ class GuildMember extends Base { this.guild = guild; /** - * The user that this guild member instance Represents + * The user that this guild member instance represents * @type {User} */ this.user = {}; @@ -322,7 +322,7 @@ class GuildMember extends Base { } /** - * Mute/unmutes a user. + * Mutes/unmutes a user. * @param {boolean} mute Whether or not the member should be muted * @param {string} [reason] Reason for muting or unmuting * @returns {Promise} @@ -332,7 +332,7 @@ class GuildMember extends Base { } /** - * Deafen/undeafens a user. + * Deafens/undeafens a user. * @param {boolean} deaf Whether or not the member should be deafened * @param {string} [reason] Reason for deafening or undeafening * @returns {Promise} diff --git a/src/structures/Message.js b/src/structures/Message.js index 69c38a0ad..ddcf02c91 100644 --- a/src/structures/Message.js +++ b/src/structures/Message.js @@ -198,6 +198,7 @@ class Message extends Base { * Represents the author of the message as a guild member. * Only available if the message comes from a guild where the author is still a member * @type {?GuildMember} + * @readonly */ get member() { return this.guild ? this.guild.member(this.author) || null : null;