mirror of
https://github.com/danbulant/discord.js
synced 2026-06-20 07:02:00 +00:00
Webpack build for branch master: 01d8d32ea9
This commit is contained in:
parent
d3cc116ae9
commit
9b42283906
1 changed files with 11 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue