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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user