mirror of
https://github.com/danbulant/discord.js
synced 2026-05-24 20:42:27 +00:00
Force user.bot to be a boolean
This commit is contained in:
parent
f0a9a1353f
commit
aa5df43c50
2 changed files with 2 additions and 2 deletions
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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue