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