mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 05:52:05 +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.
|
* Whether or not the User is a Bot.
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
*/
|
*/
|
||||||
this.bot = data.bot || this.bot;
|
this.bot = data.bot || false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The status of the user:
|
* The status of the user:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue