Fix "shitty" shortcut

This commit is contained in:
Crawl
2017-07-28 05:20:28 +02:00
committed by GitHub
parent b27198ebe5
commit 46a50cb57c

View File

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