From 05ce6218d98f0ce46cc9a1d27b9d638dc1a80722 Mon Sep 17 00:00:00 2001 From: Alee14 Date: Mon, 12 Feb 2018 08:42:49 -0500 Subject: Added message.delete to forcequote --- bot.js | 1 + 1 file changed, 1 insertion(+) 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!"); -- cgit v1.2.3