aboutsummaryrefslogtreecommitdiff
path: root/bot.js
diff options
context:
space:
mode:
authorAlee <alee14498@gmail.com>2018-02-23 19:17:14 -0500
committerAlee <alee14498@gmail.com>2018-02-23 19:17:14 -0500
commit920332bc719c4f4dc83eeab5002bcdebea26b86d (patch)
tree48a5356bf3a639ca213ef65791c66c312fca7817 /bot.js
parenteda17086beb0c6568059c9944e997d01c9c1e0de (diff)
downloadAstralQuote-ATC-920332bc719c4f4dc83eeab5002bcdebea26b86d.tar.gz
AstralQuote-ATC-920332bc719c4f4dc83eeab5002bcdebea26b86d.tar.bz2
AstralQuote-ATC-920332bc719c4f4dc83eeab5002bcdebea26b86d.zip
Fixes
Diffstat (limited to 'bot.js')
-rw-r--r--bot.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/bot.js b/bot.js
index aada2a8..2fbe035 100644
--- a/bot.js
+++ b/bot.js
@@ -501,12 +501,12 @@ client.on('message', message => {
embed.setFooter("This was made by TheRandomMelon and vicr123 and modified by Alee.");
message.channel.send(embed)
- }
- /* } else if (message.content.startsWith(prefix)) {
+ } else if (message.content.startsWith(prefix)) {
deleteOriginalMessage = false;
log("[X] " + message.content + " [Unrecognised command]");
- var msg;
+ }
+ /* var msg;
switch (Math.floor(Math.random() * 1000) % 8) {
case 0:
msg = "Trying to break me, are you?";