Simple Twitch bot using tmi.js
With Jest, TMI.js, Nodemon, Config, Babel twitch-bot-boilerplate
-
Clone repository
-
Install modules
npm i
oryarn install
-
Copy example config
cp config/default.example.json5 config/default.json5
-
Setup bot
oauth_token
you can get here by login via bot
bot: {
username: "your-bots-username-here",
oauth_token: "oauthtokenhere"
},
channel: "your-channel-here"
- Run bot
node bot.js
!to username duration
- Timeout username on channel for X seconds.!clear
- Clear all messages on a channel.
!fb
- Send you Facebook link!twt
- Send you Twitter link
- Me on Medium @KucherDev
- Follow @KucherDev on Twitter
- Have a questions? My telegram