Commit graph

103 commits

Author SHA1 Message Date
626e0696f1 Make logs appendable 2021-07-12 03:14:23 -05:00
89dddd00e4 Make markov chain-enabled channels reloadable 2021-07-12 03:14:22 -05:00
d05d0e7cb6 Properly detect enabled markov chains 2021-07-12 03:14:22 -05:00
ea5617e61e Add a command line flag for the seed file 2021-07-12 03:14:22 -05:00
555d9c728c Implement a Markov chain hook 2021-07-12 03:14:22 -05:00
cc084a8801 Only report incidents when a control panel command is used 2021-07-12 03:14:22 -05:00
228b37d084 Snitch on malcontents 2021-07-12 03:14:22 -05:00
53c4d34639 Strip leading and trailing whitespace from action_line 2021-07-12 03:14:22 -05:00
3a9fe51ef1 Remove TO from the environment after use 2021-07-12 03:14:22 -05:00
5ad193e38d Fix a HUP reload bug 2021-07-12 03:14:22 -05:00
5b29ff1cc1 Have rowbot reload its code on SIGHUP 2021-07-12 03:14:22 -05:00
9c6808d3bd Reload resources on SIGHUP 2021-07-12 03:14:21 -05:00
241e378d3d Remove unnecessary shellcheck directive 2021-07-12 03:14:21 -05:00
5fadd29c11 Guard against invalid logging levels 2021-07-12 03:14:21 -05:00
63c51c68cd Implement a shiny new sysfacts 2021-07-12 03:14:21 -05:00
aa96a2ee2a update the factoids hook to use the new api 2021-07-12 03:14:21 -05:00
fa3b002b75 Update the control_panel hook to use the new api 2021-07-12 03:14:21 -05:00
5787b3f04b Update variable name changes 2021-07-12 03:14:21 -05:00
23e09edca5 Temporarily quiet some shellcheck warnings 2021-07-12 03:14:21 -05:00
a8c9f5f9c1 Add helpful variables for user messages 2021-07-12 03:14:21 -05:00
fe0fc27b26 Add support for configuration files 2021-07-12 03:14:20 -05:00
7fdf9a8da8 Add a sysfacts trigger 2021-07-12 03:14:20 -05:00
589cf3242e Add the necessary shikhin patch 2021-07-12 03:14:20 -05:00
b8e376cc7c Exit correctly if shellcheck detects problems 2021-07-12 03:14:20 -05:00
d530d9059e Add shellcheck as a pre-commit hook 2021-07-12 03:14:20 -05:00
2f66c4b143 Fix the syntax for closing the log fd 2021-07-12 03:14:20 -05:00
f4c1a265aa Fix the alarm reload code 2021-07-12 03:14:20 -05:00
992dd17932 Clean up shellcheck warnings 2021-07-12 03:14:20 -05:00
83c95a27bf Fix assignment to reference the correct PID 2021-07-12 03:14:20 -05:00
29226ce91a Fix accidental expansions causing pm bugs 2021-07-12 03:14:19 -05:00
efaa0cace0 Add more debug statements 2021-07-12 03:14:19 -05:00
81e3cdd878 Make the nick retry logic reloadable 2021-07-12 03:14:19 -05:00
5e12b557ac Give ping-handler a more appropriate name 2021-07-12 03:14:19 -05:00
8dcf1c42eb Allow the bot to keep trying for the desired nick 2021-07-12 03:14:19 -05:00
af1ca52c9f Fix various bugs as well as add targeted facts 2021-07-12 03:14:19 -05:00
70f5e21437 Implement proper nick change tracking for longest IRC line 2021-07-12 03:14:19 -05:00
8c3b13fc76 Implement logic for breaking up a long irc message 2021-07-12 03:14:19 -05:00
60fbfe55d7 Miscellanious bug fixes and control panel enhancements 2021-07-12 03:14:19 -05:00
923591bbb3 Implement the client to client protocol (CTCP) 2021-07-12 03:14:19 -05:00
07b8753cfa Rely on the tls option instead of a pid variable 2021-07-12 03:14:19 -05:00
ce7e3b7e5d Add what every bash script needs: live reloading for code 2021-07-12 03:14:19 -05:00
ba18128b17 Implement more IRC message handlers 2021-07-12 03:14:19 -05:00
c98f4fa3f1 Implement facts api for remembering things 2021-07-12 03:14:19 -05:00
2d53264347 Implement the IRC protocol 2021-07-12 03:14:18 -05:00
9cfee49799 Ignore the tmp directory 2021-07-12 03:14:18 -05:00
776e4cf025 Add support for a log file 2021-07-12 03:13:14 -05:00
e5bcd62c19 Implement a logger for messages 2021-07-12 03:12:56 -05:00
4a89089856 Implement an IRC line parser 2021-07-12 03:12:49 -05:00
b53918eed7 Add support for TLS connections 2021-07-12 03:12:28 -05:00
05df40fb82 Add a default configuration for rowbot 2021-07-12 03:12:18 -05:00