Force user.bot to be a boolean

This commit is contained in:
Amish Shah
2016-09-11 17:25:10 +01:00
parent f0a9a1353f
commit aa5df43c50
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@@ -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: