Removed some bad habit i have

This commit is contained in:
loicbersier 2019-11-15 23:26:16 +01:00
parent 057b1ab635
commit 01e9581381

View file

@ -59,9 +59,9 @@ class userInfoCommand extends Command {
// Show on which platform they are using discord from if its not a bot
if (user.presence.clientStatus && !user.bot) {
Embed.addBlankField();
if (user.presence.clientStatus['mobile']) Embed.addField('Using discord on', '📱 ' + user.presence.clientStatus['mobile'], true);
if (user.presence.clientStatus['desktop']) Embed.addField('Using discord on', '💻 ' + user.presence.clientStatus['desktop'], true);
if (user.presence.clientStatus['web']) Embed.addField('Using discord on', '☁️ ' + user.presence.clientStatus['web'], true);
if (user.presence.clientStatus.mobile) Embed.addField('Using discord on', '📱 ' + user.presence.clientStatus.mobile, true);
if (user.presence.clientStatus.desktop) Embed.addField('Using discord on', '💻 ' + user.presence.clientStatus.desktop, true);
if (user.presence.clientStatus.web) Embed.addField('Using discord on', '☁️ ' + user.presence.clientStatus.web, true);
}
return message.channel.send({ embed: Embed });