aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlee14 <Alee14498@gmail.com>2017-07-27 16:19:33 -0400
committerAlee14 <Alee14498@gmail.com>2017-07-27 16:19:33 -0400
commit367d4604695753ecea6ebdc4d7f2b5e6cd675d62 (patch)
tree4cd3ed7664bdeeed902e14d40be77fa30dd6269c
parentf0af9ce1ecd816b7df1fe9904f813d35f4fac29f (diff)
downloadAleeBot-367d4604695753ecea6ebdc4d7f2b5e6cd675d62.tar.gz
AleeBot-367d4604695753ecea6ebdc4d7f2b5e6cd675d62.tar.bz2
AleeBot-367d4604695753ecea6ebdc4d7f2b5e6cd675d62.zip
Moving the ab:help
-rw-r--r--aleebot.js21
1 files changed, 11 insertions, 10 deletions
diff --git a/aleebot.js b/aleebot.js
index 7213afe..fbbdbba 100644
--- a/aleebot.js
+++ b/aleebot.js
@@ -135,6 +135,17 @@ client.on("message", function(message){
message.reply("You have been caught swearing.");
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\n' +
+ 'ab:git\n' +
+ 'ab:ping\n' +
+ 'ab:owner\n' +
+ 'ab:suggest\n\n' +
+ "The version that AleeBot's running is " + ver + "!```");
+ }
+
if(message.content === prefix + 'profile'){
message.reply(message.author.avatarURL);
}
@@ -147,16 +158,6 @@ client.on("message", function(message){
message.reply('Pong! :ping_pong:');
}
- if(message.content === prefix + 'help'){
- message.channel.send ('```Commands for AleeBot!\n\n' +
- 'ab:profile\n' +
- 'ab:git\n' +
- 'ab:ping\n' +
- 'ab:owner\n' +
- 'ab:suggest\n\n' +
- "The version that AleeBot's running is " + ver + "!```");
- }
-
if(message.content === prefix + 'owner'){
message.channel.send ('The person who made this is Alee14#9928!');
}