mirror of
https://github.com/nuttylmao/nutty.gg.git
synced 2026-09-19 04:00:59 -04:00
Removed unnecessary "Enabled Kick Support" toggle
This commit is contained in:
@@ -70,7 +70,6 @@ const showTwitchRaids = GetBooleanParam("showTwitchRaids", true);
|
||||
const twitchRaidAction = urlParams.get("twitchRaidAction") || "";
|
||||
|
||||
// Which Kick alerts do you want to see?
|
||||
const enableKickSupport = GetBooleanParam("enableKickSupport", false);
|
||||
const kickUsername = urlParams.get("kickUsername") || "";
|
||||
const showKickSubs = GetBooleanParam("showKickSubs", true);
|
||||
const kickSubAction = urlParams.get("kickSubAction") || "";
|
||||
@@ -309,7 +308,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)
|
||||
|
||||
@@ -363,21 +363,12 @@
|
||||
"showIf": "showYouTubeMemberships",
|
||||
"group": "Which YouTube alerts do you want to see?"
|
||||
},
|
||||
{
|
||||
"id": "enableKickSupport",
|
||||
"label": "Enable Kick Support",
|
||||
"description": "",
|
||||
"type": "checkbox",
|
||||
"defaultValue": false,
|
||||
"group": "Which Kick alerts do you want to see?"
|
||||
},
|
||||
{
|
||||
"id": "kickUsername",
|
||||
"label": "Kick Username",
|
||||
"description": "",
|
||||
"type": "text",
|
||||
"defaultValue": "",
|
||||
"showIf": "enableKickSupport",
|
||||
"group": "Which Kick alerts do you want to see?"
|
||||
},
|
||||
{
|
||||
@@ -386,7 +377,6 @@
|
||||
"description": "",
|
||||
"type": "checkbox",
|
||||
"defaultValue": true,
|
||||
"showIf": "enableKickSupport",
|
||||
"group": "Which Kick alerts do you want to see?"
|
||||
},
|
||||
{
|
||||
@@ -404,7 +394,6 @@
|
||||
"description": "",
|
||||
"type": "checkbox",
|
||||
"defaultValue": true,
|
||||
"showIf": "enableKickSupport",
|
||||
"group": "Which Kick alerts do you want to see?"
|
||||
},
|
||||
{
|
||||
@@ -422,7 +411,6 @@
|
||||
"description": "",
|
||||
"type": "checkbox",
|
||||
"defaultValue": true,
|
||||
"showIf": "enableKickSupport",
|
||||
"group": "Which Kick alerts do you want to see?"
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user