mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 14:02:02 +00:00
fix(TextChannel): remove old nsfw regex check (#3775)
This commit is contained in:
parent
bbdbc4cfa7
commit
324d9e0a3a
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue