forked from Supositware/Haha-Yes
don't show undefined
This commit is contained in:
parent
c8938a1689
commit
c03b3ccadd
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ class userInfoCommand extends Command {
|
||||||
Embed.addField('', '');
|
Embed.addField('', '');
|
||||||
|
|
||||||
// Show user status
|
// Show user status
|
||||||
if (user.presence.activities) Embed.addField('Presence', user.presence.activities[0], true);
|
if (user.presence.activities[0]) 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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue