From fcb32abe6b5c434831a092b4c5f659a7377b8cde Mon Sep 17 00:00:00 2001 From: Ale Date: Tue, 5 Sep 2023 19:25:10 +0200 Subject: [PATCH] fix: trying to fix stuff --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 19f5788..f26cf6f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -11,7 +11,7 @@ client.on("ready", async () => { }); 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) {} else {