delete previous message

This commit is contained in:
loicbersier 2019-08-11 19:55:29 +02:00
parent dcdb0190d7
commit 3549621ce5

View file

@ -55,7 +55,7 @@ class fakeleaveCommand extends Command {
byeMessage = rand.random(byeMessage);
message.delete();
if (attach) {
return channel.send(byeMessage, {files: [attach]});
} else {