mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Force user.bot to be a boolean
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -68,7 +68,7 @@ class User {
|
||||
* Whether or not the User is a Bot.
|
||||
* @type {boolean}
|
||||
*/
|
||||
this.bot = data.bot || this.bot;
|
||||
this.bot = data.bot || false;
|
||||
|
||||
/**
|
||||
* The status of the user:
|
||||
|
||||
Reference in New Issue
Block a user