delete previous message
This commit is contained in:
parent
dcdb0190d7
commit
3549621ce5
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue