diff options
| author | Alee14 <Alee14498@gmail.com> | 2017-07-30 20:21:18 -0400 |
|---|---|---|
| committer | Alee14 <Alee14498@gmail.com> | 2017-07-30 20:21:18 -0400 |
| commit | b6c355666c92583df1f1acd029e9931642b5c5f8 (patch) | |
| tree | 508e609306fdbc09a69ea4ca41ad9528aa5c840f | |
| parent | 7595934ea4d837665370b49b52422933a33ee58a (diff) | |
| download | AleeBot-b6c355666c92583df1f1acd029e9931642b5c5f8.tar.gz AleeBot-b6c355666c92583df1f1acd029e9931642b5c5f8.tar.bz2 AleeBot-b6c355666c92583df1f1acd029e9931642b5c5f8.zip | |
New command!
| -rw-r--r-- | aleebot.js | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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); }); |
