diff options
| -rw-r--r-- | commands/Utility/userinfo.js | 45 |
1 files changed, 24 insertions, 21 deletions
diff --git a/commands/Utility/userinfo.js b/commands/Utility/userinfo.js index d7a264c..96287ac 100644 --- a/commands/Utility/userinfo.js +++ b/commands/Utility/userinfo.js @@ -1,25 +1,28 @@ +<<<<<<< HEAD +exports.run = async (bot, msg) => { + const user = msg.mentions.members.first(); + const { RichEmbed } = require('discord.js'); + msg.channel.send( + new RichEmbed() + .setTitle(`Information for ${user.user.tag}`) + .addField('User ID', user.id) + .addField('Account Creation Date', user.user.createdAt) + .addField('Join Guild Date', user.joinedAt) + ); +}; +======= exports.run = async (bot, msg, args) => { const Discord = require('discord.js'); const user = msg.mentions.members.first(); +>>>>>>> master - msg.channel.send( - new RichEmbed() - .setTitle(`Information for ${user.user.tag}`) - .addField('User ID', user.id) - .addField('Account Creation Date', member.user.createdAt) - .addField('Join Guild Date', user.joinedAt) - .addField('Ban Count', 'This user has been banned from ' + parseInt(banCounts[user.id]) + ' guilds.') - ); - }; - - exports.conf = { - aliases: ['uinfo', 'userinformation'], - guildOnly: true, - }; - - exports.help = { - name: 'userinfo', - description: 'Shows information about the mentioned user', - usage: '@user', - }; -
\ No newline at end of file +exports.conf = { + aliases: ['uinfo', 'userinformation'], + guildOnly: true, +}; + +exports.help = { + name: 'userinfo', + description: 'Shows information about the mentioned user', + usage: '@user', +}; |
