This commit is contained in:
Lea 2023-07-28 16:26:17 +02:00
parent 0c4e915e38
commit 753dc2e206
Signed by: Lea
GPG key ID: 1BAFFE8347019C42

View file

@ -257,7 +257,7 @@ client.on('message', async (message) => {
if (!message.content || typeof message.content != 'string') return; if (!message.content || typeof message.content != 'string') return;
let args: string[] = Array.from(message.content.match(RE_COMMAND_ARGS) ?? []); let args: string[] = Array.from(message.content.match(RE_COMMAND_ARGS) ?? []);
if (args.shift()?.toLowerCase() != PREFIX_WORD) { 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 { try {
const blushes = [ const blushes = [
':01H2YFQEFWVA2NNAEE6QK1FVBV:', ':01H2YF8BYYAN67MB93QSGQ56ZZ:', ':01H2YFQEFWVA2NNAEE6QK1FVBV:', ':01H2YF8BYYAN67MB93QSGQ56ZZ:',