mirror of
https://github.com/danbulant/discord.js
synced 2026-06-19 14:41:36 +00:00
Webpack build for branch master: a965b3709a
This commit is contained in:
parent
77fb9f87b3
commit
02e59fdda1
2 changed files with 8 additions and 10 deletions
|
|
@ -16837,6 +16837,13 @@ class TextChannel extends GuildChannel {
|
|||
*/
|
||||
this.topic = data.topic;
|
||||
|
||||
/**
|
||||
* If the Discord considers this channel NSFW
|
||||
* @type {boolean}
|
||||
* @readonly
|
||||
*/
|
||||
this.nsfw = data.nsfw;
|
||||
|
||||
this.lastMessageID = data.last_message_id;
|
||||
}
|
||||
|
||||
|
|
@ -16855,15 +16862,6 @@ class TextChannel extends GuildChannel {
|
|||
return members;
|
||||
}
|
||||
|
||||
/**
|
||||
* If the Discord considers this channel NSFW
|
||||
* @type {boolean}
|
||||
* @readonly
|
||||
*/
|
||||
get nsfw() {
|
||||
return /^nsfw(-|$)/.test(this.name);
|
||||
}
|
||||
|
||||
/**
|
||||
* Fetch all webhooks for the channel.
|
||||
* @returns {Promise<Collection<Snowflake, Webhook>>}
|
||||
|
|
|
|||
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