From 24707227316bcaf8528b543ad3a74f3d2fe1ca18 Mon Sep 17 00:00:00 2001 From: Supositware Date: Mon, 18 Feb 2019 16:01:00 +0100 Subject: [PATCH] dosent really work for bot that dosent snipe bot but heh --- commands/general/sayd.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/commands/general/sayd.js b/commands/general/sayd.js index 4788a6b..fcfeb35 100644 --- a/commands/general/sayd.js +++ b/commands/general/sayd.js @@ -31,11 +31,10 @@ class SaydCommand extends Command { // Send the final text message.delete(); - message.channel.send('===ANTI-SNIPE MESSAGE===') - .then(msg => { - msg.delete(); + return message.util.send('===ANTI-SNIPE MESSAGE===') + .then(() => { + message.util.edit(text); }); - return message.channel.send(text); } }