test
This commit is contained in:
parent
cf8b56afd0
commit
6b627372d5
13
node/boto.js
13
node/boto.js
|
@ -4,18 +4,7 @@ const colors = require('colors');
|
|||
|
||||
console.log(process.env.API_HOST);
|
||||
|
||||
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 ]
|
||||
});
|
||||
var tmi_connect = require('tmi.js');
|
||||
|
||||
client.connect();
|
||||
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
// 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 };
|
Loading…
Reference in New Issue