~tomleb/juliendeathbot

Twitch chat bot for my friend's stream
Document !jdb criss
Add command !jdb criss
Add lorembarnak to configuration file

clone

read-only
https://git.sr.ht/~tomleb/juliendeathbot
read/write
git@git.sr.ht:~tomleb/juliendeathbot

You can also use your local clone with git send-email.

#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.

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

#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 for all code except for the function toISOStringWithTimezone which is CC0-1.0.