mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Random nonexistent object reference fixed
This commit is contained in:
@@ -1098,8 +1098,8 @@ var InternalClient = (function () {
|
||||
|
||||
this.sendWS(packet);
|
||||
|
||||
this.bot.user.status = this.idleStatus;
|
||||
this.bot.user.game = this.game;
|
||||
this.user.status = this.idleStatus;
|
||||
this.user.game = this.game;
|
||||
|
||||
return Promise.resolve();
|
||||
};
|
||||
|
||||
@@ -922,8 +922,8 @@ export default class InternalClient {
|
||||
|
||||
this.sendWS(packet);
|
||||
|
||||
this.bot.user.status = this.idleStatus;
|
||||
this.bot.user.game = this.game;
|
||||
this.user.status = this.idleStatus;
|
||||
this.user.game = this.game;
|
||||
|
||||
return Promise.resolve();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user