diff options
| author | Unknown <Alee14498@gmail.com> | 2017-08-12 00:21:14 -0400 |
|---|---|---|
| committer | Unknown <Alee14498@gmail.com> | 2017-08-12 00:21:14 -0400 |
| commit | 19b0148760cf004bd5775ff3601215b7fdeb2029 (patch) | |
| tree | fa4444ecf86b6e4f59e594723c39bd5667aaf7f9 | |
| parent | 0b20cbfd1b878b64534c147f23b4121e28b9b3a4 (diff) | |
| download | AleeBot-19b0148760cf004bd5775ff3601215b7fdeb2029.tar.gz AleeBot-19b0148760cf004bd5775ff3601215b7fdeb2029.tar.bz2 AleeBot-19b0148760cf004bd5775ff3601215b7fdeb2029.zip | |
New Command
| -rw-r--r-- | aleebot.js | 25 |
1 files changed, 24 insertions, 1 deletions
@@ -190,7 +190,7 @@ commandProcessed = true; message.reply(':arrow_left: Continue in DMs.'); message.author.sendMessage("You want a invite to the AleeArmy server? Here's the link: https://discord.gg/JqgXrAJ"); - } + } if(command === 'mod'){ message.reply("This is working progress if you want to help do **"+prefix+"git** then go to the site and start a pull request") @@ -214,7 +214,30 @@ commandProcessed = true; } } + if(command === 'attack'){ + + abattack = command.substr(7); + + if (command.indexOf("@everyone") == -1) { + + if (command.indexOf("@here") == -1) { + + message.channel.send("<@" + message.author.id + "> :right_facing_fist: " + abattack); + + } else { + + message.reply("Nice try, but I ain't going to interrupt everyone who is online at this time. Kinda nice to not be bothered."); + + } + + } else { + + message.reply("Nice try, but I ain't going to interrupt everyone. Kinda nice to not be bothered."); + + } + commandProcessed = true; + } }); |
