fix(TextChannel): remove old nsfw regex check (#3775)

This commit is contained in:
Sugden
2020-02-12 17:24:35 +00:00
committed by GitHub
parent bbdbc4cfa7
commit 324d9e0a3a

View File

@@ -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