Commits


use braces around 2 vars inside strings


remove duplicate return due to empty chunk (thanks, c0co!)


set a default empty string value for "reply" variables


add allah command (quran and bible api's by prahou. thank you!)


ball: fix typo


increase PONG_TIMEOUT to 300 and set reply to '' by default for sub evasdrop


add a bible command and extra sanitization before sending anything out


fix edge case where yt vid id starting with a - always fails to get a title


change variable from "content" to "body" in GET responses to not shadow previos variables


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