Delete Message when Sent!

This commit is contained in:
KWE26 2024-03-06 19:17:09 +05:30
parent 1559faeeb7
commit 6dabdf07d6
1 changed files with 3 additions and 0 deletions

View File

@ -26,6 +26,9 @@ const initMessageManager = async (
serverId : message.guild.id
} , async (data) => {
if(data !== null){
message.delete().catch((error) => {});
var _message = new Message();
_message.authorId = message.author.id;
_message.authorName = message.author.username;