Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //requires twitch api
- const tmi = require("tmi.js");
- //config options to connect to channel
- const config = {
- options: {
- debug: true
- },
- connection: {
- reconnect: true
- },
- identity: {
- username: 'your username here',
- password: 'your auth token here'
- },
- channels: ['your channel name here']
- };
- const client = new tmi.client(config);
Add Comment
Please, Sign In to add comment