fix: trying to fix stuff

This commit is contained in:
Ale 2023-09-05 19:25:10 +02:00
parent 634b16bd35
commit fcb32abe6b
No known key found for this signature in database
GPG key ID: 284AFB134BB2E07D

View file

@ -11,7 +11,7 @@ client.on("ready", async () => {
}); });
client.on("messageCreate", async (message: Message) => { client.on("messageCreate", async (message: Message) => {
try{if (!message.author)} catch(e) { await client.users.fetch(message.authorId) } try{if (!message.author){}} catch(e) { await client.users.fetch(message.authorId) }
if (message.author?.bot) {} if (message.author?.bot) {}
else { else {