diff options
| author | Alee14 <Alee14498@gmail.com> | 2018-02-12 08:42:49 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-12 08:42:49 -0500 |
| commit | 05ce6218d98f0ce46cc9a1d27b9d638dc1a80722 (patch) | |
| tree | aee9dc837e218993bb615b36babdc037ca524dc3 | |
| parent | 29bb8ec9e0b26d35e15c3e9954fc400d319143d4 (diff) | |
| download | AstralQuote-ATC-05ce6218d98f0ce46cc9a1d27b9d638dc1a80722.tar.gz AstralQuote-ATC-05ce6218d98f0ce46cc9a1d27b9d638dc1a80722.tar.bz2 AstralQuote-ATC-05ce6218d98f0ce46cc9a1d27b9d638dc1a80722.zip | |
Added message.delete to forcequote
| -rw-r--r-- | bot.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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!");
|
