~tomleb/juliendeathbot

ref: 83435a5707b6b474bf0df45a69f92d4c7544cd89 juliendeathbot/README.md -rw-r--r-- 1.1 KiB
83435a57Tom Lebreux Document !jdb criss 1 year, 1 month ago

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