Update Connected.js

made it update chat mode after stream goes offline
This commit is contained in:
DeSqBlocki authored and GitHub committed 2025-02-09 21:33:44 +01:00
1 parent cc9023e50a
commit 15041500b9
1 file changed
+2 -1
+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');
} }
) )
} }