Full Reset
This commit is contained in:
25
js/sb.js
Normal file
25
js/sb.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/* ----------------------- */
|
||||
/* STREAMER.BOT CONNECTION */
|
||||
/* ----------------------- */
|
||||
|
||||
const streamerBotServerAddress = "127.0.0.1";
|
||||
const streamerBotServerPort = "8080";
|
||||
|
||||
const streamerBotClient = new StreamerbotClient({
|
||||
host: streamerBotServerAddress,
|
||||
port: streamerBotServerPort,
|
||||
|
||||
onConnect: (data) => {
|
||||
console.log(`Streamer.bot successfully connected!`)
|
||||
console.debug(data);
|
||||
|
||||
notifySuccess({
|
||||
title: 'Connected to Streamer.bot',
|
||||
text: ``
|
||||
});
|
||||
},
|
||||
|
||||
/*onDisconnect: () => {
|
||||
console.error(`Streamer.bot disconnected`);
|
||||
}*/
|
||||
});
|
||||
Reference in New Issue
Block a user