Skip to content
Twitch + Discord chat bot and overlay tool
JavaScript CSS HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
backend
css
frontend
html
js
overlays
.eslintrc.json
.gitignore
README.md
dbinit.js
init.js
nodemon.json
package-lock.json
package.json
server.js

README.md

This is the source for Sir Botis, a Twitch + Discord chat bot and stream overlay system.

Please note: Sir Botis is going through refactoring and the initialization file is not up to date. All steps below except for 'npm run init' will work.

Before you get started, you will first need to set up a few things:

-A Mongo database, with a user setup for the bot to use that has all privileges. -A Twitch application -A .env file created in the root of the project, with the following text paste in and filled out:

#MySQL database info - Required
DATABASE_USERNAME=
DATABASE_PASSWORD=
DATABASE_SERVER_IP=localhost
DATABASE_NAME=
MONGO_SERVER_ADDRESS=localhost
MONGO_DATABASE_NAME=
MONGO_USERNAME=
MONGO_PASSWORD=

#Twitch variables - Required
TWITCH_CLIENT_ID=
TWITCH_CLIENT_SECRET=

#Twitch variables - Optional
TWITCH_USERNAME=
TWITCH_PASSWORD=
BOT_OWNER_TWITCH_ID=

#Discord variables - Optional
DISCORD_LOGIN_TOKEN=
DISCORD_BOT_INVITE_URL=
DISCORD_BOT_ID=
DISCORD_STREAM_TRACKER_SERVER_ID=
DISCORD_STREAM_TRACKER_CHANNEL_ID=
DISCORD_STREAM_TRACKER_MESSAGE_ID=
DISCORD_DEV_SERVER_ID=
DISCORD_LOGGING_CHANNEL_ID=

#Required - Come up with good, long, random passwords for these.
#The init script will come up with random strings for you if you leave them blank
COOKIE_SESSION_SECRET=
TWITCH_NONCE_SECRET=

#Streamlabs variables - Optional
STREAMLABS_ID=
STREAMLABS_SECRET=

#misc
USE_HTTPS=false
DOMAIN_NAME=localhost
SSL_CERT_PATH=''
SSL_KEY_PATH=''
LOG_TO_CONSOLE=true

Then run npm i in the root folder followed by npm run init and npm run build.

You can’t perform that action at this time.