mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix [object Object] in user info
This commit is contained in:
@@ -61,7 +61,7 @@ module.exports = class UserInfoCommand extends commando.Command {
|
||||
color = 0x808080;
|
||||
break;
|
||||
}
|
||||
let userGame = user.presence.game;
|
||||
let userGame = user.presence.game.name;
|
||||
if (!user.presence.game) {
|
||||
userGame = "None";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user