aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlee14 <Alee14498@gmail.com>2017-07-30 20:21:18 -0400
committerAlee14 <Alee14498@gmail.com>2017-07-30 20:21:18 -0400
commitb6c355666c92583df1f1acd029e9931642b5c5f8 (patch)
tree508e609306fdbc09a69ea4ca41ad9528aa5c840f
parent7595934ea4d837665370b49b52422933a33ee58a (diff)
downloadAleeBot-b6c355666c92583df1f1acd029e9931642b5c5f8.tar.gz
AleeBot-b6c355666c92583df1f1acd029e9931642b5c5f8.tar.bz2
AleeBot-b6c355666c92583df1f1acd029e9931642b5c5f8.zip
New command!
-rw-r--r--aleebot.js10
1 files changed, 8 insertions, 2 deletions
diff --git a/aleebot.js b/aleebot.js
index 92da58f..7e8893d 100644
--- a/aleebot.js
+++ b/aleebot.js
@@ -158,7 +158,8 @@ client.on("message", function(message){
"**"+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)
+ '**'+prefix+'userinfo** Tells you your info about you.\n' +
+ '**'+prefix+'abinvite** Lets you bring AleeBot to your server.', true)
.setFooter("AleeBot Copyright 2017. The version that AleeBot's running is " + ver + "!")
.setColor(0x00FFFF)
message.channel.sendEmbed(embed);
@@ -201,9 +202,14 @@ client.on("message", function(message){
.setColor(0x00FFFF)
message.channel.sendEmbed(embed);
}
+
+ if (command === 'abinvite'){
+ message.reply('Look at your DMs.');
+ message.author.sendMessage("AleeBot on your server? Great! Here's the link: https://goo.gl/KDQyrp")
+ }
});
- process.on('unhandledRejection', function(err, p) {
+ process.on('unhandledRejection', function(err, p) {
console.log("[ERROR | UNCAUGHT PROMISE] " + err.stack);
});