ref: 2bbb281f364887b454632aee47599bd9603ea680 juliendeathbot/README.md -rw-r--r-- 1.0 KiB
2bbb281fTom Lebreux Add command !jdb criss 1 year, 1 month ago

#Julien Death Bot

This is a twitch chat bot for Julien's stream


You will need the following installed:

  • nodejs
  • npm
  • g++
  • sqlite3-devel

Copy the file config.example.toml and adjust as desired.

git clone https://git.sr.ht/~tomleb/juliendeathbot
cd juliendeathbot
cp config.example.toml config.toml

Export the following environment variables:

export BOT_USERNAME=<username>
export BOT_PASSWORD=<oauth key>

Then, run the following command:

node . config.toml


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.


See LICENSE for all code except for the function toISOStringWithTimezone which is CC0-1.0.