fix delete

This commit is contained in:
loicbersier 2020-03-12 23:10:59 +01:00
parent bbadea4eda
commit 20d8c5697c

View file

@ -100,7 +100,7 @@ class messageListener extends Listener {
} else if (text.includes('[kick]')) {
message.member.kick('Tag kick :^)');
} else if (text.includes('[delete]')) {
message.delete('Tag delete :^)');
message.delete();
}
text = rand.random(text, message);