Commits


matabot.8: fix usage example as channels shouldn't start with #


fix IO::Socket::SSL errors not working


TODO: add more tasks


TODO: add more items


refactor and change -l and -v description


matabot.8: cleanup and add a noodle command


fix regression with HUUUH line and improve regex intelligence


make -l only log errors and add -v for verbose logging


Merge branch 'fix_noreconnect'


make a todo file and add tasks


implement reconnection bot now reconnects after a cooldown on socket creation error, falsy return value of recv, or server not responding with PONG after a set amount of time from a PING (sent after a set amount of time too). thanks #perl for showing me the recv() -> 0/undef trick :3


remove i/o side effects from most subroutines subroutine msg was deleted too as it was used only once after the purification. now only logger, out, evasdrop and the toplevel main code is impure. i might try to optimize them further later. for now, we'll be implementing reconnection as i/o has been minimized


make matabot's nick rollable at the last character


purify functional mutation of globals/parameters


simplify http link regex


Merge branch 'master' into fix_noreconnect


make matabot nick recognition more lenient


matabot.8: add /i and /g regex modifiers


move main loop to a function to implement reconnection


Merge branch 'regex_modifiers'


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


add the /g and /i regex modifiers to the chat s/// command


matabot.8: revamp and add missing info


add a .gitignore to ignore rc_script


matabot.8: split lines that have more than one sentence mdoc takes care of inter-sentence spacing. thanks, humm!