From ab796b78aedae8d9f3d8f316000c72c43026a2c4 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Sat, 25 Mar 2017 05:00:44 +0000 Subject: [PATCH] Fix [object Object] in user info --- commands/userinfo/userinfo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/userinfo/userinfo.js b/commands/userinfo/userinfo.js index 7b004492..f4d40767 100644 --- a/commands/userinfo/userinfo.js +++ b/commands/userinfo/userinfo.js @@ -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"; }