Removed unnecessary "Enabled Kick Support" toggle

This commit is contained in:
nuttylmao
2025-07-24 08:44:37 +10:00
parent de9edc37d0
commit 7590507d67
6 changed files with 3 additions and 44 deletions
+1 -2
View File
@@ -51,7 +51,6 @@ const showTwitchChannelPointRedemptions = GetBooleanParam("showTwitchChannelPoin
const showTwitchRaids = GetBooleanParam("showTwitchRaids", true);
const showTwitchSharedChat = GetBooleanParam("showTwitchSharedChat", true);
const enableKickSupport = GetBooleanParam("enableKickSupport", false);
const kickUsername = urlParams.get("kickUsername") || "";
const showKickMessages = GetBooleanParam("showKickMessages", true);
// const showKickFollows = GetBooleanParam("showKickFollows", false);
@@ -288,7 +287,7 @@ client.on('Fourthwall.GiftDrawEnded', (response) => {
// Connect and handle Pusher WebSocket
async function KickConnect() {
if (!enableKickSupport)
if (!kickUsername)
return;
// Channel to subscribe to (you'll need the correct channel name here)
-13
View File
@@ -207,21 +207,12 @@
"defaultValue": true,
"group": "Which YouTube messages do you want to see?"
},
{
"id": "enableKickSupport",
"label": "Enable Kick Support",
"description": "",
"type": "checkbox",
"defaultValue": false,
"group": "Which Kick messages do you want to see?"
},
{
"id": "kickUsername",
"label": "Kick Username",
"description": "",
"type": "text",
"defaultValue": "",
"showIf": "enableKickSupport",
"group": "Which Kick messages do you want to see?"
},
{
@@ -230,7 +221,6 @@
"description": "",
"type": "checkbox",
"defaultValue": true,
"showIf": "enableKickSupport",
"group": "Which Kick messages do you want to see?"
},
{
@@ -239,7 +229,6 @@
"description": "",
"type": "checkbox",
"defaultValue": true,
"showIf": "enableKickSupport",
"group": "Which Kick messages do you want to see?"
},
{
@@ -248,7 +237,6 @@
"description": "",
"type": "checkbox",
"defaultValue": true,
"showIf": "enableKickSupport",
"group": "Which Kick messages do you want to see?"
},
{
@@ -257,7 +245,6 @@
"description": "",
"type": "checkbox",
"defaultValue": true,
"showIf": "enableKickSupport",
"group": "Which Kick messages do you want to see?"
},
{