Put Offline/Online in their own Events

This commit is contained in:
DeSqBlocki
2025-02-09 22:36:28 +01:00
parent 732936f044
commit d96868931e
7 changed files with 159 additions and 142 deletions
+9
View File
@@ -0,0 +1,9 @@
const { updateChatMode } = require('../../functions')
module.exports = {
name: 'Twitch/Offline',
once: false,
execute(stream) {
console.log(`${stream.broadcaster_user_login} went offline!`)
updateChatMode(stream.broadcaster_user_id, "on")
}
}