mirror of
https://github.com/danbulant/discord.js
synced 2026-07-05 19:20:42 +00:00
Webpack build for branch master: aa35e21b84
This commit is contained in:
parent
50a5032d8b
commit
c0c8d22572
2 changed files with 4 additions and 4 deletions
|
|
@ -13594,14 +13594,14 @@ class MessageMentions {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Any channels that were mentioned (only populated in {@link TextChannel}s)
|
* Any channels that were mentioned (only in {@link TextChannel}s)
|
||||||
* @type {Collection<Snowflake, GuildChannel>}
|
* @type {?Collection<Snowflake, GuildChannel>}
|
||||||
* @readonly
|
* @readonly
|
||||||
*/
|
*/
|
||||||
get channels() {
|
get channels() {
|
||||||
if (this._channels) return this._channels;
|
if (this._channels) return this._channels;
|
||||||
|
if (!this._guild) return null;
|
||||||
this._channels = new Collection();
|
this._channels = new Collection();
|
||||||
if (!this._guild) return this._channels;
|
|
||||||
let matches;
|
let matches;
|
||||||
while ((matches = this.constructor.CHANNELS_PATTERN.exec(this._content)) !== null) {
|
while ((matches = this.constructor.CHANNELS_PATTERN.exec(this._content)) !== null) {
|
||||||
const chan = this._guild.channels.get(matches[1]);
|
const chan = this._guild.channels.get(matches[1]);
|
||||||
|
|
|
||||||
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