diff --git a/src/structures/TextChannel.js b/src/structures/TextChannel.js index bf5d23bb0..a806b87ee 100644 --- a/src/structures/TextChannel.js +++ b/src/structures/TextChannel.js @@ -35,7 +35,7 @@ class TextChannel extends GuildChannel { * @type {boolean} * @readonly */ - this.nsfw = Boolean(data.nsfw); + this.nsfw = data.nsfw || /^nsfw(-|$)/.test(this.name); this.lastMessageID = data.last_message_id;