# Julien Death Bot This is a twitch chat bot for Julien's stream # Usage You will need the following installed: - nodejs - npm - g++ - sqlite3-devel Copy the file [config.example.toml] and adjust as desired. [config.example.toml]: config.example.toml ```sh git clone https://git.sr.ht/~tomleb/juliendeathbot cd juliendeathbot cp config.example.toml config.toml ``` Export the following environment variables: ```sh export BOT_USERNAME= export BOT_PASSWORD= ``` Then, run the following command: ```sh node . config.toml ``` # Commands The bot responds to `!jdb` commands. The bot has multiple actions. **!jdb count** Gives the count of today's number of deaths. **!jdb total** Gives the total number of recorded deaths. **!jdb record** Records a new death for today. **!jdb insult** Insult Julien **!jdb motivate** Motivate Julien **!jdb help** Gives an help message to the viewers. **!jdb criss** Generates a Quebecer curse sentence if lorembarnak is enabled. # License See [LICENSE](LICENSE) for all code except for the function `toISOStringWithTimezone` which is CC0-1.0.