From 753dc2e206c0ef08664662b401872852ddbbd103 Mon Sep 17 00:00:00 2001 From: Lea Date: Fri, 28 Jul 2023 16:26:17 +0200 Subject: [PATCH] d --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 6a3ed0d..2c80a6e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -257,7 +257,7 @@ client.on('message', async (message) => { if (!message.content || typeof message.content != 'string') return; let args: string[] = Array.from(message.content.match(RE_COMMAND_ARGS) ?? []); if (args.shift()?.toLowerCase() != PREFIX_WORD) { - if (new RegExp(`<@${client.user?._id}>`).test(message.content.replace(/\s+/, ' '))) { + if (new RegExp(`^<@${client.user?._id}> good girl$`).test(message.content.replace(/\s+/, ' ').trim())) { try { const blushes = [ ':01H2YFQEFWVA2NNAEE6QK1FVBV:', ':01H2YF8BYYAN67MB93QSGQ56ZZ:',