Don't show "Is a bot?" if user is not a bot

This commit is contained in:
loicbersier 2020-01-09 23:38:03 +01:00
parent 4dc4019589
commit d77f623257

View file

@ -48,7 +48,7 @@ class userInfoCommand extends Command {
if (user.presence.activity) Embed.addField('Presence', user.presence.activity, true); if (user.presence.activity) Embed.addField('Presence', user.presence.activity, true);
// Is the user a bot? // Is the user a bot?
if (user.bot) Embed.addField('Is a bot?', '✅', true); else if (!user.bot) Embed.addField('Is a bot?', '❌', true); if (user.bot) Embed.addField('Is a bot?', '✅', true);
// Show guild nickname // Show guild nickname
if (member.nickname) Embed.addField('Nickname', member.nickname, true); if (member.nickname) Embed.addField('Nickname', member.nickname, true);