mirror of
https://github.com/Alee14/AleeBot.git
synced 2025-01-23 11:41:51 -05:00
Userinfo has been rewritten!
This commit is contained in:
parent
b6431a3e20
commit
7c037cfe31
1 changed files with 7 additions and 6 deletions
13
aleebot.js
13
aleebot.js
|
@ -186,12 +186,13 @@ commandProcessed = true;
|
||||||
|
|
||||||
if(command === 'userinfo'){
|
if(command === 'userinfo'){
|
||||||
var embed = new Discord.RichEmbed()
|
var embed = new Discord.RichEmbed()
|
||||||
.setAuthor(message.author.username)
|
.setAuthor(message.author.username, message.author.avatarURL)
|
||||||
.setDescription("This is your user info!")
|
.setDescription("Here's some information about your user.")
|
||||||
.setColor("#7af442")
|
.addField("Names", "**Username:** " + message.author.username + "\n**Display Name:** " + message.member.displayName)
|
||||||
.addField("Username", `${message.author.username}#${message.author.discriminator}`)
|
.addField("Identity", "**User ID:** " + message.author.id + "\n**Discriminator:** " + message.author.discriminator)
|
||||||
.addField("Created At", message.author.createdAt)
|
.addField("Create and Join Times", "**Created account at:** " + message.member.user.createdAt + "\n**Joined server at:** " + message.member.joinedAt)
|
||||||
message.channel.sendEmbed(embed);
|
.setColor("#7af442")
|
||||||
|
message.channel.sendEmbed(embed);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue