Put Offline/Online in their own Events
This commit is contained in:
@@ -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")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user