mirror of
https://github.com/danbulant/discord.js
synced 2026-07-06 03:31:03 +00:00
Webpack build for branch master: 2e0048add1
This commit is contained in:
parent
7cd7629496
commit
8b9603c8ac
1 changed files with 5 additions and 4 deletions
|
|
@ -2862,7 +2862,7 @@ class GuildMember extends Base {
|
||||||
this.guild = guild;
|
this.guild = guild;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The user that this guild member instance Represents
|
* The user that this guild member instance represents
|
||||||
* @type {User}
|
* @type {User}
|
||||||
*/
|
*/
|
||||||
this.user = {};
|
this.user = {};
|
||||||
|
|
@ -3162,7 +3162,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 {boolean} mute Whether or not the member should be muted
|
||||||
* @param {string} [reason] Reason for muting or unmuting
|
* @param {string} [reason] Reason for muting or unmuting
|
||||||
* @returns {Promise<GuildMember>}
|
* @returns {Promise<GuildMember>}
|
||||||
|
|
@ -3172,7 +3172,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 {boolean} deaf Whether or not the member should be deafened
|
||||||
* @param {string} [reason] Reason for deafening or undeafening
|
* @param {string} [reason] Reason for deafening or undeafening
|
||||||
* @returns {Promise<GuildMember>}
|
* @returns {Promise<GuildMember>}
|
||||||
|
|
@ -7299,6 +7299,7 @@ class Message extends Base {
|
||||||
* Represents the author of the message as a guild member.
|
* 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
|
* Only available if the message comes from a guild where the author is still a member
|
||||||
* @type {?GuildMember}
|
* @type {?GuildMember}
|
||||||
|
* @readonly
|
||||||
*/
|
*/
|
||||||
get member() {
|
get member() {
|
||||||
return this.guild ? this.guild.member(this.author) || null : null;
|
return this.guild ? this.guild.member(this.author) || null : null;
|
||||||
|
|
@ -11716,7 +11717,7 @@ const GuildChannel = __webpack_require__(17);
|
||||||
*/
|
*/
|
||||||
class CategoryChannel extends GuildChannel {
|
class CategoryChannel extends GuildChannel {
|
||||||
/**
|
/**
|
||||||
* Channels that are part of this category
|
* Channels that are a part of this category
|
||||||
* @type {?Collection<Snowflake, GuildChannel>}
|
* @type {?Collection<Snowflake, GuildChannel>}
|
||||||
* @readonly
|
* @readonly
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue