mirror of
https://github.com/kurbezz/discord-bot.git
synced 2025-12-06 15:15:37 +01:00
Fix
This commit is contained in:
@@ -44,6 +44,8 @@ class TwitchService:
|
|||||||
await eventsub.listen_stream_online(str(streamer.twitch.id), self.on_stream_online)
|
await eventsub.listen_stream_online(str(streamer.twitch.id), self.on_stream_online)
|
||||||
else:
|
else:
|
||||||
raise ValueError("Unknown method")
|
raise ValueError("Unknown method")
|
||||||
|
|
||||||
|
return
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
if retry <= 0:
|
if retry <= 0:
|
||||||
raise e
|
raise e
|
||||||
|
|||||||
Reference in New Issue
Block a user