aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlee14 <Alee14498@gmail.com>2018-02-12 08:42:49 -0500
committerGitHub <noreply@github.com>2018-02-12 08:42:49 -0500
commit05ce6218d98f0ce46cc9a1d27b9d638dc1a80722 (patch)
treeaee9dc837e218993bb615b36babdc037ca524dc3
parent29bb8ec9e0b26d35e15c3e9954fc400d319143d4 (diff)
downloadAstralQuote-ATC-05ce6218d98f0ce46cc9a1d27b9d638dc1a80722.tar.gz
AstralQuote-ATC-05ce6218d98f0ce46cc9a1d27b9d638dc1a80722.tar.bz2
AstralQuote-ATC-05ce6218d98f0ce46cc9a1d27b9d638dc1a80722.zip
Added message.delete to forcequote
-rw-r--r--bot.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/bot.js b/bot.js
index 34934c1..8e438df 100644
--- a/bot.js
+++ b/bot.js
@@ -400,6 +400,7 @@ client.on('message', message => {
message.channel.send("Here's the quote of the day (as of " + QuoteOfTheDayStartTime.toUTCString() + ")");
message.channel.sendEmbed(quoteofday);
} else if (command === "forcequote") {
+ message.delete();
QuoteOfTheDayExpiry = 0;
var quoteofday = GetQuoteOfTheDay();
message.channel.send("New quote of the day!");