mirror of
https://github.com/nuttylmao/nutty.gg.git
synced 2026-09-18 19:50:58 -04:00
Removed unnecessary "Enabled Kick Support" toggle
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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?"
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user