diff --git a/discord.master.js b/discord.master.js index 6d5127d2..fc340306 100644 --- a/discord.master.js +++ b/discord.master.js @@ -2535,9 +2535,19 @@ class GuildMember { return permissions.filter(p => !this.hasPermission(p, explicit)); } + /** + * The data for editing a guild member + * @typedef {Object} GuildMemberEditData + * @property {string} [nick] The nickname to set for the member + * @property {Collection|Role[]|Snowflake[]} [roles] The roles or role IDs to apply + * @property {boolean} [mute] Whether or not the member should be muted + * @property {boolean} [deaf] Whether or not the member should be deafened + * @property {ChannelResolvable} [channel] Channel to move member to (if they are connected to voice) + */ + /** * Edit a guild member - * @param {GuildmemberEditData} data The data to edit the member with + * @param {GuildMemberEditData} data The data to edit the member with * @returns {Promise} */ edit(data) {