forked from Supositware/Haha-Yes
Anti snipe message
This commit is contained in:
parent
f1f4e07901
commit
c841aa48b0
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue