Boto/node/tmi.js

15 lines
324 B
JavaScript

// JavaScript Document
const client = new tmi.Client({
options: { debug: true },
connection: {
secure: true,
reconnect: true
},
identity: {
username: process.env.TTV_BOT_USERNAME,
password: process.env.TTV_BOT_OAUTH
},
channels: [ process.env.TTV_CHANNELS ]
});
module.exports = { tmi_connect };