mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
Update nsfw prop
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user