From b27198ebe5bf6eb2614b77295dc2593bdcf14c72 Mon Sep 17 00:00:00 2001 From: Crawl Date: Fri, 28 Jul 2017 04:53:36 +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 ad0372870..252e3460b 100644 --- a/src/structures/TextChannel.js +++ b/src/structures/TextChannel.js @@ -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; }