Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 691 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 691 Bytes

theme-twitch-bot

How to use it

1. Rename the .env.sample file to .env

2. Fill the .env file with your own data

Here are what each variable means:

  • TWITCH_USERNAME - twitch account username
  • TWITCH_TOKEN - auth token, get it from here https://twitchapps.com/tmi/
  • CHANNELS - which channels to watch, seperate with ,
  • BOT_IDENTIFIER - what to write before the bot command

3. Edit the configs.ts file to your needs

4. Run npm install or yarn install to install dependencies

5. Run npm run dev or yarn dev to start the app.

Note that if you did yarn install in the previous step, you have to do yarn dev in this step. Same with npm