ignore even less
This commit is contained in:
parent
f28fb8ea0e
commit
9b2b141af6
1 changed files with 1 additions and 0 deletions
1
index.ts
1
index.ts
|
@ -61,6 +61,7 @@ client.on("messageCreate", async (message) => {
|
|||
const context = [
|
||||
...msgs
|
||||
.filter((msg) => {
|
||||
if (msg.webhookId && !msg.content.startsWith("\\")) return true;
|
||||
if (msg.author.bot && msg.author !== msg.author.client.user)
|
||||
return false;
|
||||
if (msg.content.startsWith("\\")) return false;
|
||||
|
|
Loading…
Reference in a new issue