From 324d9e0a3af5d89dba35f6bc859f084b63adf104 Mon Sep 17 00:00:00 2001 From: Sugden <28943913+NotSugden@users.noreply.github.com> Date: Wed, 12 Feb 2020 17:24:35 +0000 Subject: [PATCH] fix(TextChannel): remove old nsfw regex check (#3775) --- 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 10b5d7cb3..e77947c26 100644 --- a/src/structures/TextChannel.js +++ b/src/structures/TextChannel.js @@ -41,7 +41,7 @@ class TextChannel extends GuildChannel { * @type {boolean} * @readonly */ - this.nsfw = data.nsfw || /^nsfw(-|$)/.test(this.name); + this.nsfw = data.nsfw; /** * The ID of the last message sent in this channel, if one was sent