mata_bot

some cheeky bot for #unix_surrealism
git clone https://git.pastanoggin.com/mata_bot.git
Log | Files | Refs | README | LICENSE

commit 8c7ebe8f11d0d6d1803e7037024e41d52b8f0550
parent 77a3e6a10769bafbec246f66294ef7ade2f414a1
Author: noodle <noodle@pastanoggin.com>
Date:   Sun, 15 Jun 2025 16:55:39 +0300

add `the' as an alt for `a' in "who's a good boy"

Diffstat:
Mmata_bot.pl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mata_bot.pl b/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+)?|