mirror of
https://github.com/kurbezz/discord-bot.git
synced 2026-03-03 19:50:47 +01:00
Add on_stream_state_change retries
This commit is contained in:
@@ -8,7 +8,10 @@ from .watcher import StateWatcher
|
||||
from .twitch.authorize import authorize
|
||||
|
||||
|
||||
@broker.task("stream_notifications.twitch.on_stream_state_change")
|
||||
@broker.task(
|
||||
"stream_notifications.twitch.on_stream_state_change",
|
||||
retry_on_error=True
|
||||
)
|
||||
async def on_stream_state_change(
|
||||
streamer_id: int, new_state: State | None = None
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user