diff options
| author | Justin <jtsshieh@outlook.com> | 2019-11-02 11:02:19 -0400 |
|---|---|---|
| committer | Justin <jtsshieh@outlook.com> | 2019-11-02 11:02:19 -0400 |
| commit | 7031fa12ba79281edc49df972311c13ad0e8fa53 (patch) | |
| tree | 60410a33fe45add85a9dc962c975be478f3f8cff /commands/Utility/userinfo.js | |
| parent | 106530d5dc53166632a6a0ecc8930eb2b1ed4bfd (diff) | |
| download | PokeBot-7031fa12ba79281edc49df972311c13ad0e8fa53.tar.gz PokeBot-7031fa12ba79281edc49df972311c13ad0e8fa53.tar.bz2 PokeBot-7031fa12ba79281edc49df972311c13ad0e8fa53.zip | |
es-lint settings added + linted all files
Diffstat (limited to 'commands/Utility/userinfo.js')
| -rw-r--r-- | commands/Utility/userinfo.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/commands/Utility/userinfo.js b/commands/Utility/userinfo.js index 80844e1..e57351d 100644 --- a/commands/Utility/userinfo.js +++ b/commands/Utility/userinfo.js @@ -7,8 +7,8 @@ * * *************************************/ -exports.run = async (bot, msg) => { - const { RichEmbed } = require('discord.js'); +exports.run = (bot, msg) => { + const {RichEmbed} = require('discord.js'); let user; if (!msg.mentions.members.first()) { user = msg.member; @@ -22,18 +22,18 @@ exports.run = async (bot, msg) => { .addField('User ID', user.id) .addField('Account Creation Date', user.user.createdAt) .addField('Join Guild Date', user.joinedAt) - .addField('Names', 'Display Name: ' + user.displayName + `\nUsername: ${user.user.tag}`) + .addField('Names', `Display Name: ${user.displayName }\nUsername: ${user.user.tag}`) .setFooter('PokeBot v1.0') ); }; exports.conf = { aliases: ['uinfo', 'userinformation'], - guildOnly: true, + guildOnly: true }; exports.help = { name: 'userinfo', description: 'Shows information about the mentioned user', - usage: '@user', + usage: '@user' }; |
