mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 14:02:02 +00:00
user.patch shouldn't try to touch the token (#2072)
This commit is contained in:
parent
cd3d3344e8
commit
cda408534a
2 changed files with 2 additions and 2 deletions
|
|
@ -88,6 +88,8 @@ class ClientUser extends User {
|
|||
this.guildSettings.set(settings.guild_id, new ClientUserGuildSettings(this.client, settings));
|
||||
}
|
||||
}
|
||||
|
||||
if (data.token) this.client.token = data.token;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -63,8 +63,6 @@ class User extends Base {
|
|||
* @type {?Message}
|
||||
*/
|
||||
this.lastMessage = null;
|
||||
|
||||
if (data.token) this.client.token = data.token;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue