From 7b74b088ac63f049fa2d465c5bd5859cf4e15cce Mon Sep 17 00:00:00 2001 From: Crawl Date: Fri, 28 Jul 2017 04:53:23 +0200 Subject: [PATCH] Update nsfw prop --- 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 6a401604c..3df3b67db 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 = !!data.nsfw; this.lastMessageID = data.last_message_id; }