Update src/index.ts
This commit is contained in:
parent
80e5a996d2
commit
ce331b5720
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ client.on("messageCreate", async (message: Message) => {
|
||||||
try{if (!message.author) {await client.users.fetch(message.authorId)} }
|
try{if (!message.author) {await client.users.fetch(message.authorId)} }
|
||||||
catch(e){console.log(e)}
|
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)}
|
catch(e){console.log(e)}
|
||||||
|
|
||||||
if (message === undefined) {return}
|
if (message === undefined) {return}
|
||||||
|
|
Loading…
Reference in a new issue