Webpack build for branch master: 01d8d32ea9

This commit is contained in:
Travis CI 2017-03-01 09:40:49 +00:00
parent d3cc116ae9
commit 9b42283906

View file

@ -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<Snowflake, Role>|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<GuildMember>}
*/
edit(data) {