mirror of
https://github.com/danbulant/discord.js
synced 2026-05-26 13:32:04 +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}
|
* @type {boolean}
|
||||||
* @readonly
|
* @readonly
|
||||||
*/
|
*/
|
||||||
this.nsfw = data.nsfw;
|
this.nsfw = !!data.nsfw;
|
||||||
|
|
||||||
this.lastMessageID = data.last_message_id;
|
this.lastMessageID = data.last_message_id;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue