Say command now deletes the message it is repeating

Doesn't check for permissions, so there'll be an error if the bot can't delete the message
This commit is contained in:
SileNce5k 2021-03-01 19:41:55 +01:00
parent 2e64fa7bd6
commit 2428321448
No known key found for this signature in database
GPG key ID: C507260E7F2583AD

View file

@ -5,8 +5,10 @@ module.exports = {
if(args.length == 0)
message.channel.send("Can't send empty message");
else
else{
message.channel.send(args.join(" "))
message.delete()
}
}
};