mirror of
https://github.com/danbulant/discord.js
synced 2026-06-05 07:42:09 +00:00
Fix "shitty" shortcut
This commit is contained in:
parent
b27198ebe5
commit
46a50cb57c
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ class TextChannel extends GuildChannel {
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
* @readonly
|
* @readonly
|
||||||
*/
|
*/
|
||||||
this.nsfw = !!data.nsfw;
|
this.nsfw = Boolean(data.nsfw);
|
||||||
|
|
||||||
this.lastMessageID = data.last_message_id;
|
this.lastMessageID = data.last_message_id;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue