Update nsfw prop

This commit is contained in:
Crawl
2017-07-28 04:53:36 +02:00
committed by GitHub
parent e91a2c6b2b
commit b27198ebe5

View File

@@ -29,7 +29,7 @@ class TextChannel extends GuildChannel {
* @type {boolean}
* @readonly
*/
this.nsfw = data.nsfw;
this.nsfw = !!data.nsfw;
this.lastMessageID = data.last_message_id;
}