fixed activity

This commit is contained in:
loicbersier 2020-03-07 00:16:39 +01:00
parent 183b01f5f0
commit c8938a1689

View file

@ -47,8 +47,7 @@ class userInfoCommand extends Command {
Embed.addField('', ''); Embed.addField('', '');
// Show user status // 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? // Is the user a bot?
if (user.bot) Embed.addField('Is a bot?', '✅', true); if (user.bot) Embed.addField('Is a bot?', '✅', true);