mirror of
https://github.com/kurbezz/discord-bot.git
synced 2025-12-06 07:05:36 +01:00
Fix
This commit is contained in:
@@ -93,7 +93,10 @@ class TwitchService:
|
|||||||
|
|
||||||
for sub in subs.data:
|
for sub in subs.data:
|
||||||
if sub.type == sub_type:
|
if sub.type == sub_type:
|
||||||
await self.twitch.delete_eventsub_subscription(sub.id)
|
try:
|
||||||
|
await self.twitch.delete_eventsub_subscription(sub.id)
|
||||||
|
except Exception as e:
|
||||||
|
logger.error(f"Failed to delete subscription {sub.id}", exc_info=e)
|
||||||
|
|
||||||
await sleep(1)
|
await sleep(1)
|
||||||
await self.subscribe_with_retry(method, eventsub, streamer, retry - 1)
|
await self.subscribe_with_retry(method, eventsub, streamer, retry - 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user