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; }