aboutsummaryrefslogtreecommitdiff
path: root/aleebot.js
diff options
context:
space:
mode:
authorAlee14 <Alee14498@gmail.com>2017-07-29 20:51:13 -0400
committerAlee14 <Alee14498@gmail.com>2017-07-29 20:51:13 -0400
commit2c2175c42eb4e09788827b474cb74e5d6916b3bc (patch)
tree10753e1540ecf76b048e03bfcd127527c724676c /aleebot.js
parent8d31e697d1740a2ef3659bfa8dd770a77898660e (diff)
downloadAleeBot-2c2175c42eb4e09788827b474cb74e5d6916b3bc.tar.gz
AleeBot-2c2175c42eb4e09788827b474cb74e5d6916b3bc.tar.bz2
AleeBot-2c2175c42eb4e09788827b474cb74e5d6916b3bc.zip
Updated help command and added userinfo and serverinfo (WP)
Diffstat (limited to 'aleebot.js')
-rw-r--r--aleebot.js31
1 files changed, 24 insertions, 7 deletions
diff --git a/aleebot.js b/aleebot.js
index 3cc62bb..9692e1e 100644
--- a/aleebot.js
+++ b/aleebot.js
@@ -153,12 +153,13 @@ client.on("message", function(message){
if (command === 'help'){
var embed = new Discord.RichEmbed()
.addField('Commands for AleeBot!\n\n',
- '**'+prefix+'profile** Shows your profile pic in a image\n' +
- '**'+prefix+'git** Shows the repo of AleeBot\n' +
- "**"+prefix+"ping** Type this command and you'll see ;)\n" +
- '**'+prefix+'owner** Shows who made this bot\n' +
- '**'+prefix+'suggest** You suggest things (working progress)\n\n' +
- "**The version that AleeBot's running is " + ver + "!**", true)
+ '**'+prefix+'profile** Shows your profile pic in a image.\n' +
+ '**'+prefix+'git** Shows the repo of AleeBot.\n' +
+ "**"+prefix+"ping** Type this command and you'll see ;).\n" +
+ '**'+prefix+'owner** Shows who made this bot.\n' +
+ '**'+prefix+'suggest** You suggest things (working progress).\n' +
+ '**'+prefix+'userinfo** Tells you your info about you.', true)
+ .setFooter("**The version that AleeBot's running is " + ver + "!**")
.setColor(0x00FFFF)
message.channel.sendEmbed(embed);
}
@@ -179,12 +180,28 @@ client.on("message", function(message){
message.channel.send ('The person who made this is Alee14#9928!');
}
-
if(command === 'suggest'){
message.reply('Sorry this feature is still being worked on :(');
}
+ if(command === 'userinfo'){
+ var embed = new Discord.RichEmbed()
+ .setAuthor(message.author.username)
+ .setDescription("This is your user info!")
+ .setColor(0x00FFFF)
+ .addField("Username", `${message.author.username}#${message.author.discriminator}`)
+ .addField("Created At", message.author.createdAt)
+ .setFooter("Requested by", ${message.author.username}#${message.author.discriminator)
+ message.channel.sendEmbed(embed);
+
+ }
+ if(command === 'serverinfo'){
+ var embed = new Discord.RichEmbed()
+ .addField("Coming soon!")
+ .setColor(0x00FFFF)
+ message.channel.sendEmbed(embed);
+ }
});