commit 8c7ebe8f11d0d6d1803e7037024e41d52b8f0550 from: noodle date: Sun Jun 15 13:55:39 2025 UTC add `the' as an alt for `a' in "who's a good boy" commit - 77a3e6a10769bafbec246f66294ef7ade2f414a1 commit + 8c7ebe8f11d0d6d1803e7037024e41d52b8f0550 blob - 11526a572f7bb68db9f9444ba64657b7c1c7eec5 blob + dc0dc9b84b1d3a73e67fc0a41dbd77319bd90d56 --- mata_bot.pl +++ mata_bot.pl @@ -104,7 +104,7 @@ sub respond_command { msg($sock, "<3 ${MATA_HAPPY}"); } elsif ($content =~ /(thanks+|thx+|thank +(yo)?u+)( *a+ *lot+)?/i) { msg($sock, "You're welcome, ${sender_nick}! ${MATA_HAPPY}"); - } elsif ($content =~ /who('| +i|)s+ +a+ +goo+d+ +(bo+[ity]+o*|gir(l+|lie+))/i) { + } elsif ($content =~ /who('| +i|)s+ +(a|the)+ +goo+d+ +(bo+[ity]+o*|gir(l+|lie+))/i) { msg($sock, "Me! ${MATA_CUTE}"); } elsif ($content =~ / h(ow+)?\s*(are+|r+)\s*(you+|yo+|u+)(\s+doing+)?(\s+today+)?|