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:
@@ -55,7 +55,6 @@ const showTwitchChannelPointRedemptions = GetBooleanParam("showTwitchChannelPoin
|
||||
const showTwitchRaids = GetBooleanParam("showTwitchRaids", true);
|
||||
const showTwitchSharedChat = GetIntParam("showTwitchSharedChat", 2);
|
||||
|
||||
const enableKickSupport = GetBooleanParam("enableKickSupport", false);
|
||||
const kickUsername = urlParams.get("kickUsername") || "";
|
||||
const showKickMessages = GetBooleanParam("showKickMessages", true);
|
||||
// const showKickFollows = GetBooleanParam("showKickFollows", false);
|
||||
@@ -311,7 +310,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)
|
||||
|
||||
@@ -336,21 +336,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?"
|
||||
},
|
||||
{
|
||||
@@ -359,7 +350,6 @@
|
||||
"description": "",
|
||||
"type": "checkbox",
|
||||
"defaultValue": true,
|
||||
"showIf": "enableKickSupport",
|
||||
"group": "Which Kick messages do you want to see?"
|
||||
},
|
||||
{
|
||||
@@ -368,7 +358,6 @@
|
||||
"description": "",
|
||||
"type": "checkbox",
|
||||
"defaultValue": true,
|
||||
"showIf": "enableKickSupport",
|
||||
"group": "Which Kick messages do you want to see?"
|
||||
},
|
||||
{
|
||||
@@ -377,7 +366,6 @@
|
||||
"description": "",
|
||||
"type": "checkbox",
|
||||
"defaultValue": true,
|
||||
"showIf": "enableKickSupport",
|
||||
"group": "Which Kick messages do you want to see?"
|
||||
},
|
||||
{
|
||||
@@ -386,7 +374,6 @@
|
||||
"description": "",
|
||||
"type": "checkbox",
|
||||
"defaultValue": true,
|
||||
"showIf": "enableKickSupport",
|
||||
"group": "Which Kick messages do you want to see?"
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user