Refactor stream notifier

This commit is contained in:
2024-11-17 22:00:28 +01:00
parent 95152c15a7
commit b3bc07f7db
15 changed files with 470 additions and 216 deletions

View File

@@ -0,0 +1,8 @@
from core.broker import broker
from .watcher import StateWatcher
@broker.task("stream_notifications.twitch.on_stream_state_change")
async def on_stream_state_change(streamer_id: int):
await StateWatcher.on_stream_state_change(streamer_id)