Update src/index.ts

This commit is contained in:
ale 2023-09-07 13:20:12 +00:00
parent 80e5a996d2
commit ce331b5720

View file

@ -14,7 +14,7 @@ client.on("messageCreate", async (message: Message) => {
try{if (!message.author) {await client.users.fetch(message.authorId)} }
catch(e){console.log(e)}
try{if (!messafe.content) {await client.messages.fetch(message.id)}}
try{if (!message.content) {await client.messages.fetch(message.id)}}
catch(e){console.log(e)}
if (message === undefined) {return}