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