aboutsummaryrefslogtreecommitdiff
path: root/aleebot.js
diff options
context:
space:
mode:
Diffstat (limited to 'aleebot.js')
-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!');
}