mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Make client.user.game use the proper format
This commit is contained in:
@@ -1384,7 +1384,9 @@ var InternalClient = (function () {
|
||||
this.sendWS(packet);
|
||||
|
||||
this.user.status = this.idleStatus ? "idle" : "online";
|
||||
this.user.game = this.game;
|
||||
this.user.game = {
|
||||
name: this.game
|
||||
};
|
||||
|
||||
return Promise.resolve();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user