Anti snipe message

This commit is contained in:
Supositware 2019-02-18 15:52:48 +01:00
parent f1f4e07901
commit c841aa48b0

View file

@ -30,6 +30,10 @@ class SaydCommand extends Command {
text = rand.random(text, message); text = rand.random(text, message);
// Send the final text // Send the final text
message.channel.send('===ANTI-SNIPE MESSAGE===')
.then(msg => {
msg.delete();
});
message.delete(); message.delete();
return message.channel.send(text); return message.channel.send(text);
} }