itanex / stream-assist-bot

GNU General Public License v3.0
1 stars 0 forks source link

Update `Unlurk Cleanup` to be end of stream #82

Closed itanex closed 4 months ago

itanex commented 5 months ago

Original design of the unlurk process was that when the broadcaster stopped the bot, it would clear any outstanding lurking records.

This process no longer occurs since the bot can run indefinitely. Now the bot needs to detect when the broadcaster has ended a stream, and then update the records at that time instead.

There should be a built in process that identifies if the broadcaster 'disconnected' for some reason. so the Unlurk cleanup should not be automatic to the end of a broadcast. but should record the end of the broadcast datetime as the unlurk event time.