Update Connected.js

made it update chat mode after stream goes offline
This commit is contained in:
DeSqBlocki
2025-02-09 21:33:44 +01:00
committed by GitHub
parent cc9023e50a
commit 15041500b9
+2 -1
View File
@@ -122,7 +122,8 @@ module.exports = {
"stream.offline", "stream.offline",
conditions[0], conditions[0],
stream => { stream => {
console.log(`${stream.broadcaster_user_login} went online`) console.log(`${stream.broadcaster_user_login} went online`);
updateChatMode(stream.broadcaster_user_id, 'on');
} }
) )
} }