fix: trying to fix stuff
This commit is contained in:
parent
634b16bd35
commit
fcb32abe6b
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue