Fix [object Object] in user info

This commit is contained in:
Daniel Odendahl Jr
2017-03-25 05:00:44 +00:00
parent a1c9606f99
commit ab796b78ae
+1 -1
View File
@@ -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";
}