mirror of
https://github.com/danbulant/discord.js
synced 2026-07-07 20:20:55 +00:00
Webpack build for branch master: d93d628f19
This commit is contained in:
parent
07269365a7
commit
7cd7629496
2 changed files with 10 additions and 8 deletions
|
|
@ -7155,13 +7155,6 @@ class Message extends Base {
|
||||||
*/
|
*/
|
||||||
this.author = this.client.users.add(data.author, !data.webhook_id);
|
this.author = this.client.users.add(data.author, !data.webhook_id);
|
||||||
|
|
||||||
/**
|
|
||||||
* 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}
|
|
||||||
*/
|
|
||||||
this.member = this.guild ? this.guild.member(this.author) || null : null;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Whether or not this message is pinned
|
* Whether or not this message is pinned
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
|
|
@ -7302,6 +7295,15 @@ 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}
|
||||||
|
*/
|
||||||
|
get member() {
|
||||||
|
return this.guild ? this.guild.member(this.author) || null : null;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The time the message was sent at
|
* The time the message was sent at
|
||||||
* @type {Date}
|
* @type {Date}
|
||||||
|
|
|
||||||
2
discord.master.min.js
vendored
2
discord.master.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue