Update nsfw prop

This commit is contained in:
Crawl
2017-07-28 04:53:23 +02:00
committed by GitHub
parent eef87e5d97
commit 7b74b088ac

View File

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