Update Connected.js
made it update chat mode after stream goes offline
This commit is contained in:
1 parent
cc9023e50a
commit
15041500b9
1 file changed
+2
-1
@@ -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');
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user