Simple Twitch bot using tmi.js
With Jest, TMI.js, Nodemon, Config, Babel twitch-bot-boilerplate
Clone repository
Install modules npm i
or yarn 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"
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