Skip to content

Commit e97664f

Browse files
committed
Kick Streamer.bot Fallbacks
1 parent e39a354 commit e97664f

4 files changed

Lines changed: 55 additions & 37 deletions

File tree

chat.html

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/simple-notify.min.css">
1414
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/animate.min.css">
1515

16-
<link rel="stylesheet" href="css/chatrd.css?nocache=37">
16+
<link rel="stylesheet" href="css/chatrd.css?nocache=38">
1717
<link id="chatrd-skins" rel="stylesheet" href="css/skin-default.css">
1818

1919
<meta name="robots" content="noindex, nofollow">
@@ -175,47 +175,47 @@
175175
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/purify.min.js"></script>
176176
<script src="https://unpkg.com/@streamerbot/client/dist/streamerbot-client.js"></script>
177177

178-
<script src="js/i18n-chatrd.js?nocache=37"></script>
178+
<script src="js/i18n-chatrd.js?nocache=38"></script>
179179

180-
<script src="js/speakerbot.js?nocache=37"></script>
181-
<script src="js/sb.js?nocache=37"></script>
182-
<script src="js/queue.js?nocache=37"></script>
180+
<script src="js/speakerbot.js?nocache=38"></script>
181+
<script src="js/sb.js?nocache=38"></script>
182+
<script src="js/queue.js?nocache=38"></script>
183183

184-
<script src="js/chatrd.js?nocache=37"></script>
184+
<script src="js/chatrd.js?nocache=38"></script>
185185

186-
<script src="js/modules/twitch/addon-seventv-paint.js?nocache=37"></script>
187-
<script src="js/modules/twitch/addon-message-effects-canvas.js?nocache=37"></script>
188-
<script src="js/modules/twitch/addon-on-screen-celebration.js?nocache=37"></script>
186+
<script src="js/modules/twitch/addon-seventv-paint.js?nocache=38"></script>
187+
<script src="js/modules/twitch/addon-message-effects-canvas.js?nocache=38"></script>
188+
<script src="js/modules/twitch/addon-on-screen-celebration.js?nocache=38"></script>
189189

190-
<link href="js/modules/twitch/module.css?nocache=37" rel="stylesheet">
191-
<script src="js/modules/twitch/module.js?nocache=37"></script>
190+
<link href="js/modules/twitch/module.css?nocache=38" rel="stylesheet">
191+
<script src="js/modules/twitch/module.js?nocache=38"></script>
192192

193-
<link href="js/modules/youtube/module.css?nocache=37" rel="stylesheet">
194-
<script src="js/modules/youtube/module.js?nocache=37"></script>
193+
<link href="js/modules/youtube/module.css?nocache=38" rel="stylesheet">
194+
<script src="js/modules/youtube/module.js?nocache=38"></script>
195195

196-
<link href="js/modules/tiktok/module.css?nocache=37" rel="stylesheet">
197-
<script src="js/modules/tiktok/module.js?nocache=37"></script>
196+
<link href="js/modules/tiktok/module.css?nocache=38" rel="stylesheet">
197+
<script src="js/modules/tiktok/module.js?nocache=38"></script>
198198

199-
<link href="js/modules/kick/module.css?nocache=37" rel="stylesheet">
200-
<script src="js/modules/kick/module.js?nocache=37"></script>
199+
<link href="js/modules/kick/module.css?nocache=38" rel="stylesheet">
200+
<script src="js/modules/kick/module.js?nocache=38"></script>
201201

202-
<link href="js/modules/streamelements/module.css?nocache=37" rel="stylesheet">
203-
<script src="js/modules/streamelements/module.js?nocache=37"></script>
202+
<link href="js/modules/streamelements/module.css?nocache=38" rel="stylesheet">
203+
<script src="js/modules/streamelements/module.js?nocache=38"></script>
204204

205-
<link href="js/modules/streamlabs/module.css?nocache=37" rel="stylesheet">
206-
<script src="js/modules/streamlabs/module.js?nocache=37"></script>
205+
<link href="js/modules/streamlabs/module.css?nocache=38" rel="stylesheet">
206+
<script src="js/modules/streamlabs/module.js?nocache=38"></script>
207207

208-
<link href="js/modules/patreon/module.css?nocache=37" rel="stylesheet">
209-
<script src="js/modules/patreon/module.js?nocache=37"></script>
208+
<link href="js/modules/patreon/module.css?nocache=38" rel="stylesheet">
209+
<script src="js/modules/patreon/module.js?nocache=38"></script>
210210

211-
<link href="js/modules/tipeeestream/module.css?nocache=37" rel="stylesheet">
212-
<script src="js/modules/tipeeestream/module.js?nocache=37"></script>
211+
<link href="js/modules/tipeeestream/module.css?nocache=38" rel="stylesheet">
212+
<script src="js/modules/tipeeestream/module.js?nocache=38"></script>
213213

214-
<link href="js/modules/kofi/module.css?nocache=37" rel="stylesheet">
215-
<script src="js/modules/kofi/module.js?nocache=37"></script>
214+
<link href="js/modules/kofi/module.css?nocache=38" rel="stylesheet">
215+
<script src="js/modules/kofi/module.js?nocache=38"></script>
216216

217-
<link href="js/modules/fourthwall/module.css?nocache=37" rel="stylesheet">
218-
<script src="js/modules/fourthwall/module.js?nocache=37"></script>
217+
<link href="js/modules/fourthwall/module.css?nocache=38" rel="stylesheet">
218+
<script src="js/modules/fourthwall/module.js?nocache=38"></script>
219219

220220
<script src="js/testmode.js"></script>
221221

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1886,9 +1886,9 @@ <h3><span data-i18n="modal.streamerbot.title">⚠️ Streamer.bot Actions Not Fo
18861886
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/purify.min.js"></script>
18871887
<script src="https://unpkg.com/@streamerbot/client/dist/streamerbot-client.js"></script>
18881888

1889-
<script src="js/i18n-settings.js?nocache=37"></script>
1890-
<script src="js/speakerbot.js?nocache=37"></script>
1889+
<script src="js/i18n-settings.js?nocache=38"></script>
1890+
<script src="js/speakerbot.js?nocache=38"></script>
18911891

1892-
<script type="module" src="js/settings.js?nocache=37"></script>
1892+
<script type="module" src="js/settings.js?nocache=38"></script>
18931893
</body>
18941894
</html>

js/chatrd.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ const loadedEmotes = new Set();
8080

8181

8282
const SKINS = {
83-
default: "skin-default.css?nocache=37",
84-
nutting: "skin-nutting.css?nocache=37",
85-
kimballs: "skin-kimballs.css?nocache=37",
86-
bubbles: "skin-bubbles.css?nocache=37",
87-
'star-wars': "skin-star-wars.css?nocache=37"
83+
default: "skin-default.css?nocache=38",
84+
nutting: "skin-nutting.css?nocache=38",
85+
kimballs: "skin-kimballs.css?nocache=38",
86+
bubbles: "skin-bubbles.css?nocache=38",
87+
'star-wars': "skin-star-wars.css?nocache=38"
8888
};
8989

9090
const skinFile = SKINS[skin] || SKINS.default;

js/modules/kick/module.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,24 @@ const kickMessageHandlers = {
7777
if (isPusherConnected) return;
7878
},
7979

80+
'Kick.UserTimedOut': (response) => {
81+
if (isPusherConnected) return;
82+
kickUserBanned({
83+
user: {
84+
slug : data.user.name.toLowerCase()
85+
}
86+
});
87+
},
88+
89+
'Kick.UserBanned': (response) => {
90+
if (isPusherConnected) return;
91+
kickUserBanned({
92+
user: {
93+
slug : data.user.name.toLowerCase()
94+
}
95+
});
96+
},
97+
8098
'Kick.ViewerCountUpdate': (response) => {
8199
kickUpdateStatistics(response.data);
82100
},

0 commit comments

Comments
 (0)