mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Human-readable bot user status
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user