An array containing list of chats to send emails to, and also chats where the bot will reply to commands.
NOTE: Please only use one chat ID for now.
adminid
An array contining chat IDs of admins. The bot will treat these as additional chats to handle messages in, but it will not forward emails.
linksmsg
The message containing the response of the /links command in Markdown format.
How do I do <thing>?
This is still a huge WIP! Don't expect to kill dragons with this code, but issues and PRs are accepted.
As for now, here's what to check if you're curious:
settings loads the HCL config file into memory
crontasks handles the scheduled actions, including refreshing the Markov model
commands handles the /commands that the bot replies to.
sendemail (currently disabled!) handles checking for unread email, forwarding it, and marking it as read
fakernews-mod modified standalone version of fakernews generates fake Hacker News stories