mirror of
https://github.com/nuttylmao/nutty.gg.git
synced 2026-09-19 04:00:59 -04:00
Changed the way Kick is connected
This commit is contained in:
@@ -125,6 +125,7 @@ const client = new StreamerbotClient({
|
|||||||
console.log(`Streamer.bot successfully connected to ${sbServerAddress}:${sbServerPort}`)
|
console.log(`Streamer.bot successfully connected to ${sbServerAddress}:${sbServerPort}`)
|
||||||
console.debug(data);
|
console.debug(data);
|
||||||
SetConnectionStatus(true);
|
SetConnectionStatus(true);
|
||||||
|
KickConnect();
|
||||||
},
|
},
|
||||||
|
|
||||||
onDisconnect: () => {
|
onDisconnect: () => {
|
||||||
@@ -433,9 +434,6 @@ async function KickConnect() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Try connect when window is loaded
|
|
||||||
window.addEventListener('load', KickConnect);
|
|
||||||
|
|
||||||
|
|
||||||
//////////////////////
|
//////////////////////
|
||||||
// TIKFINITY CLIENT //
|
// TIKFINITY CLIENT //
|
||||||
|
|||||||
@@ -145,6 +145,7 @@ const client = new StreamerbotClient({
|
|||||||
console.log(`Streamer.bot successfully connected to ${sbServerAddress}:${sbServerPort}`)
|
console.log(`Streamer.bot successfully connected to ${sbServerAddress}:${sbServerPort}`)
|
||||||
console.debug(data);
|
console.debug(data);
|
||||||
SetConnectionStatus(true);
|
SetConnectionStatus(true);
|
||||||
|
KickConnect();
|
||||||
},
|
},
|
||||||
|
|
||||||
onDisconnect: () => {
|
onDisconnect: () => {
|
||||||
@@ -473,9 +474,6 @@ async function KickConnect() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Try connect when window is loaded
|
|
||||||
window.addEventListener('load', KickConnect);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//////////////////////
|
//////////////////////
|
||||||
|
|||||||
@@ -172,6 +172,7 @@ const client = new StreamerbotClient({
|
|||||||
console.log(`Streamer.bot successfully connected to ${sbServerAddress}:${sbServerPort}`)
|
console.log(`Streamer.bot successfully connected to ${sbServerAddress}:${sbServerPort}`)
|
||||||
console.debug(data);
|
console.debug(data);
|
||||||
SetConnectionStatus(true);
|
SetConnectionStatus(true);
|
||||||
|
KickConnect();
|
||||||
},
|
},
|
||||||
|
|
||||||
onDisconnect: () => {
|
onDisconnect: () => {
|
||||||
@@ -405,9 +406,6 @@ async function KickConnect() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Try connect when window is loaded
|
|
||||||
window.addEventListener('load', KickConnect);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//////////////////////
|
//////////////////////
|
||||||
|
|||||||
Reference in New Issue
Block a user