Install deps
npm install
Create config files
# For production
cp .example.env .env
# For dev
cp .example.env .dev.env
Setup env file:
# You must register a new user on Twitch, which will be used by the bot
BOT_USERNAME=mychannel_bot
# Token you can get here by login via bot https://twitchapps.com/tmi/
BOT_OAUTH_TOKEN=oauth:abc123asd512zxc
# Your twitch username
CHANNEL=devkucher
Run TSC in watch mode & restart bot via nodemon
npm run watch
Commit
npx git-cz
Prepare release
npm run release
Bump version
npm run bump
Publish release
npm run publish
Start bot
npm run start