From a46f606170755b6bf024256625544040ced6921c Mon Sep 17 00:00:00 2001 From: Schuyler Cebulskie Date: Thu, 27 Jul 2017 23:17:39 -0400 Subject: [PATCH] Fix Crawl/Drah garbage --- src/structures/TextChannel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/TextChannel.js b/src/structures/TextChannel.js index 3df3b67db..279a16b5c 100644 --- a/src/structures/TextChannel.js +++ b/src/structures/TextChannel.js @@ -30,7 +30,7 @@ class TextChannel extends GuildChannel { * @type {boolean} * @readonly */ - this.nsfw = !!data.nsfw; + this.nsfw = Boolean(data.nsfw); this.lastMessageID = data.last_message_id; }