mirror of
https://github.com/danbulant/discord.js
synced 2026-05-24 12:35:53 +00:00
Update nsfw prop
This commit is contained in:
parent
eef87e5d97
commit
7b74b088ac
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ class TextChannel extends GuildChannel {
|
|||
* @type {boolean}
|
||||
* @readonly
|
||||
*/
|
||||
this.nsfw = data.nsfw;
|
||||
this.nsfw = !!data.nsfw;
|
||||
|
||||
this.lastMessageID = data.last_message_id;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue