From c8938a1689124d35b20fa923955bad0996d366f5 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Sat, 7 Mar 2020 00:16:39 +0100 Subject: [PATCH] fixed activity --- commands/utility/userInfo.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/commands/utility/userInfo.js b/commands/utility/userInfo.js index 22aa5dc6..cc1448a4 100644 --- a/commands/utility/userInfo.js +++ b/commands/utility/userInfo.js @@ -47,8 +47,7 @@ class userInfoCommand extends Command { Embed.addField('​', '​'); // Show user status - if (user.presence.activity) Embed.addField('Presence', user.presence.activities[0], true); - + if (user.presence.activities) Embed.addField('Presence', user.presence.activities[0], true); // Is the user a bot? if (user.bot) Embed.addField('Is a bot?', '✅', true);