aboutsummaryrefslogtreecommitdiff
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
parent8d31e697d1740a2ef3659bfa8dd770a77898660e (diff)
downloadAleeBot-2c2175c42eb4e09788827b474cb74e5d6916b3bc.tar.gz
AleeBot-2c2175c42eb4e09788827b474cb74e5d6916b3bc.tar.bz2
AleeBot-2c2175c42eb4e09788827b474cb74e5d6916b3bc.zip
Updated help command and added userinfo and serverinfo (WP)
-rw-r--r--aleebot.js31
-rw-r--r--update.bat7
2 files changed, 24 insertions, 14 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);
+ }
});
diff --git a/update.bat b/update.bat
deleted file mode 100644
index ff674a9..0000000
--- a/update.bat
+++ /dev/null
@@ -1,7 +0,0 @@
-@echo off
-title Update
-echo [INFO] Updating Git...
-git pull
-echo [SUCCESS] Git has been updated!
-echo Press Anything to Exit!
-pause \ No newline at end of file