mirror of
https://github.com/danbulant/discord.js
synced 2026-06-22 00:02:13 +00:00
Random nonexistent object reference fixed
This commit is contained in:
parent
5c9865fc3c
commit
78b18de1e1
2 changed files with 4 additions and 4 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue