mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00:00
Update nsfw prop
This commit is contained in:
parent
e91a2c6b2b
commit
b27198ebe5
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,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