https://github.com/shindakun/twitch-bot
A bare bones example on how to add a Twitch bot to your Twitch chat using tmi.js and Glitch.
https://github.com/shindakun/twitch-bot
bot express nodejs
Last synced: 3 months ago
JSON representation
A bare bones example on how to add a Twitch bot to your Twitch chat using tmi.js and Glitch.
- Host: GitHub
- URL: https://github.com/shindakun/twitch-bot
- Owner: shindakun
- Created: 2017-06-06T20:44:12.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-10-14T02:08:59.000Z (over 6 years ago)
- Last Synced: 2025-07-29T07:32:15.945Z (11 months ago)
- Topics: bot, express, nodejs
- Language: HTML
- Homepage: https://glitch.com/edit/#!/twitch-bot
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Twitch Bot
> A bare bones example on how to add a [Twitch](https://twitch.tv) bot to your Twitch chat using [tmi.js](https://tmijs.org/) and **Glitch**.
What you need
---------------- - - -
- First, your own [Twitch.tv account](https://twitch.tv/signup).
- Log out (or use different browser) after creating your account.
- Create an [account](https://twitch.tv/signup) for your bot to use.
- Stay logged in to the bot account and continue to the next step.
- Visit [TwitchApps/TMI](https://twitchapps.com/tmi/) to generate and oauth token
- Edit .env file add the USERNAME and oauth PASSWORD for your bot.
- After a moment or two you should see your bot join [twitch.tv/shinbot/chat](twitch.tv/shinbot/chat)
- Edit index.js line 26 `channels: ["shinbot"]` to point to your channel, this is the channel you want to bot to join.
- I have included two example commands both currently pointing to the `shinbot` channel you should update those too. To add more simply extend out the switch statement. For further documentation see [tmi.js](https://docs.tmijs.org/).
- Follow me on [Twitch](https://twitch.tv/shindakun).