From c841aa48b05d7c049a86268a877801d320c64c5d Mon Sep 17 00:00:00 2001 From: Supositware Date: Mon, 18 Feb 2019 15:52:48 +0100 Subject: [PATCH] Anti snipe message --- commands/general/sayd.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/commands/general/sayd.js b/commands/general/sayd.js index 11eec0c8..e8b1fdb0 100644 --- a/commands/general/sayd.js +++ b/commands/general/sayd.js @@ -30,6 +30,10 @@ class SaydCommand extends Command { text = rand.random(text, message); // Send the final text + message.channel.send('===ANTI-SNIPE MESSAGE===') + .then(msg => { + msg.delete(); + }); message.delete(); return message.channel.send(text); }