fix: trying to fix stuff
This commit is contained in:
parent
6574d2af48
commit
634b16bd35
1 changed files with 2 additions and 3 deletions
|
@ -11,8 +11,7 @@ client.on("ready", async () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
client.on("messageCreate", async (message: Message) => {
|
client.on("messageCreate", async (message: Message) => {
|
||||||
try{if (!message.author) await client.users.fetch(message.authorId)}
|
try{if (!message.author)} catch(e) { await client.users.fetch(message.authorId) }
|
||||||
catch(e){console.log(e)}
|
|
||||||
|
|
||||||
if (message.author?.bot) {}
|
if (message.author?.bot) {}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue