Webpack build for branch master: a965b3709a

This commit is contained in:
Travis CI 2017-07-16 12:06:32 +00:00
parent 77fb9f87b3
commit 02e59fdda1
2 changed files with 8 additions and 10 deletions

View file

@ -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>>}

File diff suppressed because one or more lines are too long