Removed some bad habit i have
This commit is contained in:
parent
057b1ab635
commit
01e9581381
1 changed files with 3 additions and 3 deletions
|
@ -59,9 +59,9 @@ class userInfoCommand extends Command {
|
||||||
// Show on which platform they are using discord from if its not a bot
|
// Show on which platform they are using discord from if its not a bot
|
||||||
if (user.presence.clientStatus && !user.bot) {
|
if (user.presence.clientStatus && !user.bot) {
|
||||||
Embed.addBlankField();
|
Embed.addBlankField();
|
||||||
if (user.presence.clientStatus['mobile']) Embed.addField('Using discord on', '📱 ' + user.presence.clientStatus['mobile'], 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.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.web) Embed.addField('Using discord on', '☁️ ' + user.presence.clientStatus.web, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
return message.channel.send({ embed: Embed });
|
return message.channel.send({ embed: Embed });
|
||||||
|
|
Loading…
Reference in a new issue