mirror of
https://github.com/kurbezz/discord-bot.git
synced 2026-03-04 03:00:48 +01:00
Refactor stream notifier
This commit is contained in:
8
src/modules/stream_notifications/tasks.py
Normal file
8
src/modules/stream_notifications/tasks.py
Normal 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)
|
||||
Reference in New Issue
Block a user