mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 03:23:29 +01:00
Fix weird bot bug #612
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -46,7 +46,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 = Boolean(data.bot);
|
this.bot = data.bot || this.bot;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The status of the user:
|
* The status of the user:
|
||||||
|
|||||||
Reference in New Issue
Block a user