test
This commit is contained in:
parent
6b627372d5
commit
dd740f3f87
16
node/boto.js
16
node/boto.js
|
@ -4,11 +4,23 @@ const colors = require('colors');
|
||||||
|
|
||||||
console.log(process.env.API_HOST);
|
console.log(process.env.API_HOST);
|
||||||
|
|
||||||
var tmi_connect = require('tmi.js');
|
var test = require('./test.js');
|
||||||
|
|
||||||
|
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 ]
|
||||||
|
});
|
||||||
|
|
||||||
client.connect();
|
client.connect();
|
||||||
|
|
||||||
var test = require('./test.js');
|
|
||||||
|
|
||||||
//import { test } from "./ttv.js";
|
//import { test } from "./ttv.js";
|
||||||
//test();
|
//test();
|
||||||
|
|
Loading…
Reference in New Issue