A simple Twitch chat bot that can be run from the command-line.
- Easy configuration using JSON files
- Users in chat can create custom commands
- Using
!add
or!remove
- Using
- Viewers writing their first message in current stream session are optionally greeted with e.g.
- Welcome to the stream,
username
HeyGuys
- Welcome to the stream,
- Verbose option to toggle whether chat bot can send messages to chat
- Chat log of stream in command-line
- Different languages
- Create configuration file
app.cfg.json
based onapp.cfg.json.dist
contents and adjust based on your needs - Create command database file
commands.json
based oncommands.json.dist
contents for your default commands. In addition all user created commands will be saved here - Install dependencies using
$ npm install
- Run chat bot using
$ node app.js
- Stop chat bot by using keyboard interrupt
Ctrl+C
Note: In case you are not interested in running node
everytime, you can simply build a Windows executable using $ npm run build
.
The config file contains the following properties:
username
: Twitch bot usernamepassword
: Twitch bot passwordchannel
: Channel nameverbose
: Whether to send messages to chatcommands
: Path to command database filegreetNewViewers
: Whether to send a greeting to new viewerslanguage
: Currently eitheren
orde
(changes default command localization)
!add command message
!remove command
!commands