Changed the way Kick is connected

This commit is contained in:
nutty
2026-03-26 04:56:40 +11:00
parent 3613f1fa7f
commit b7b414f6ea
3 changed files with 3 additions and 9 deletions
+1 -3
View File
@@ -145,6 +145,7 @@ const client = new StreamerbotClient({
console.log(`Streamer.bot successfully connected to ${sbServerAddress}:${sbServerPort}`)
console.debug(data);
SetConnectionStatus(true);
KickConnect();
},
onDisconnect: () => {
@@ -473,9 +474,6 @@ async function KickConnect() {
}
}
// Try connect when window is loaded
window.addEventListener('load', KickConnect);
//////////////////////