aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlee14 <Alee14498@gmail.com>2017-07-29 00:19:15 -0400
committerAlee14 <Alee14498@gmail.com>2017-07-29 00:19:15 -0400
commitc919e1306e89cb31dbfa083adee59a5318906168 (patch)
tree9f36ead78ede4459426671db41f1f22e3e71c97d
parentdecb5ffce06333b939309cab6010ebf8453e08b0 (diff)
downloadAleeBot-c919e1306e89cb31dbfa083adee59a5318906168.tar.gz
AleeBot-c919e1306e89cb31dbfa083adee59a5318906168.tar.bz2
AleeBot-c919e1306e89cb31dbfa083adee59a5318906168.zip
The new ab:help rewrite using embed
-rw-r--r--aleebot.js24
1 files changed, 13 insertions, 11 deletions
diff --git a/aleebot.js b/aleebot.js
index 33bfbb7..9ac2151 100644
--- a/aleebot.js
+++ b/aleebot.js
@@ -13,7 +13,7 @@ const client = new Discord.Client();
const config = require('./abtoken.json');
var prefix = "ab:";
-var ver = "1.0.5";
+var ver = "1.0.6";
var logsChannel = "318874545593384970";
client.on('ready', () => {
@@ -143,16 +143,18 @@ client.on("message", function(message){
message.author.send("You have been caught swearing in AleeArmy Community.");
} */
- if(message.content === prefix + 'help'){
- message.channel.send ('```Commands for AleeBot!\n\n' +
- 'ab:profile Shows your profile pic in a image\n' +
- 'ab:git Shows the repo of AleeBot\n' +
- "ab:ping Type this command and you'll see ;)\n" +
- 'ab:owner Shows who made this bot\n' +
- 'ab:suggest You suggest things (working progress)\n\n' +
- "The version that AleeBot's running is " + ver + "!\n" +
- 'Coming soon this command is going to have a rewrite!!!```');
- //Hint hint the new help system will have embed
+ }
+ if (message.content === prefix + 'help'){
+ var embed = new Discord.RichEmbed()
+ .addField('Commands for AleeBot!\n\n',
+ '**ab:profile** Shows your profile pic in a image\n' +
+ '**ab:git** Shows the repo of AleeBot\n' +
+ "**ab:ping** Type this command and you'll see ;)\n" +
+ '**ab:owner** Shows who made this bot\n' +
+ '**ab:suggest** You suggest things (working progress)\n\n' +
+ "**The version that AleeBot's running is " + ver + "!**", true)
+ .setColor(0x00FFFF)
+ message.channel.sendEmbed(embed);
}
if(message.content === prefix + 'profile'){