mirror of
https://github.com/danbulant/discord.js
synced 2026-06-22 16:22:01 +00:00
Webpack build for branch master: e60d2bd175
This commit is contained in:
parent
257f84e800
commit
3b38663701
2 changed files with 5 additions and 5 deletions
|
|
@ -5794,7 +5794,7 @@ class Message {
|
|||
* All valid mentions that the message contains
|
||||
* @type {MessageMentions}
|
||||
*/
|
||||
this.mentions = new Mentions(this, data.mentions, data.mentions_roles, data.mention_everyone);
|
||||
this.mentions = new Mentions(this, data.mentions, data.mention_roles, data.mention_everyone);
|
||||
|
||||
/**
|
||||
* ID of the webhook that sent the message, if applicable
|
||||
|
|
@ -13134,7 +13134,7 @@ class MessageMentions {
|
|||
*/
|
||||
get members() {
|
||||
if (this._members) return this._members;
|
||||
if (!this.guild) return null;
|
||||
if (!this._guild) return null;
|
||||
this._members = new Collection();
|
||||
this.users.forEach(user => {
|
||||
const member = this._guild.member(user);
|
||||
|
|
@ -13150,7 +13150,7 @@ class MessageMentions {
|
|||
*/
|
||||
get channels() {
|
||||
if (this._channels) return this._channels;
|
||||
if (!this.guild) return null;
|
||||
if (!this._guild) return null;
|
||||
this._channels = new Collection();
|
||||
let matches;
|
||||
while ((matches = this.constructor.CHANNELS_PATTERN.exec(this._content)) !== null) {
|
||||
|
|
|
|||
4
discord.master.min.js
vendored
4
discord.master.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue