|
|
|
@ -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;
|
|
|
|
|