A flexible Twitch chatbot
This chatbot requires mongodb to store an oauth token, which can be installed through docker or through their installer.
Copy .example.env
to .env
. Update the variables to the channels you wish to use, and
create a new app in the Twitch dev console (2FA is required)
using the user who will be acting as the bot. This can be your broadcast channel, or another
dedicated user.
CHANNELS='["haplesshero"]'
CLIENT_ID="<obtain from https://dev.twitch.tv/console/apps>"
CLIENT_SECRET="<obtain from https://dev.twitch.tv/console/apps>"
DB_CONNECTION="mongodb+srv://user:password@localhost/"
DB_NAME="chatbot"
Requires Node v18.
yarn install
yarn start
- Auto-shoutout
- Rename
autoshoutout-example.json
tosrc/autoshoutout.json
and edit the array of users
- Rename
!followage
tells you how long you've been following!anarchy
,!x
,!league
,!regular
gives access to the splatoon3.ink map/mode rotation info
- Automated messages (timers)
- Add custom command command (e.g. addcomm) with simple JS evaluation
- Add server and a frontend to allow admin to add new channels