mirror of
https://github.com/danbulant/discord.js
synced 2026-06-18 22:21:17 +00:00
Human-readable bot user status
This commit is contained in:
parent
159602b359
commit
df73f52454
2 changed files with 2 additions and 2 deletions
|
|
@ -1124,7 +1124,7 @@ var InternalClient = (function () {
|
|||
|
||||
this.sendWS(packet);
|
||||
|
||||
this.user.status = this.idleStatus;
|
||||
this.user.status = this.idleStatus ? "idle" : "online";
|
||||
this.user.game = this.game;
|
||||
|
||||
return Promise.resolve();
|
||||
|
|
|
|||
|
|
@ -930,7 +930,7 @@ export default class InternalClient {
|
|||
|
||||
this.sendWS(packet);
|
||||
|
||||
this.user.status = this.idleStatus;
|
||||
this.user.status = this.idleStatus ? "idle" : "online";
|
||||
this.user.game = this.game;
|
||||
|
||||
return Promise.resolve();
|
||||
|
|
|
|||
Loading…
Reference in a new issue