Skip to content

qWici/twitch-chat-bot-ts

Repository files navigation

Getting started

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

Developing

Run TSC in watch mode & restart bot via nodemon

npm run watch

After making the changes:

Commit

npx git-cz

Prepare release

npm run release

Bump version

npm run bump

Publish release

npm run publish

Usage

Start bot

npm run start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published