delete previous message

This commit is contained in:
loicbersier 2019-08-11 19:55:29 +02:00
parent 34c3e0b1e1
commit 0039ff999d

View file

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