mirror of
https://github.com/kurbezz/discord-bot.git
synced 2025-12-06 07:05:36 +01:00
Fix
This commit is contained in:
@@ -87,9 +87,11 @@ class TwitchService:
|
|||||||
while True:
|
while True:
|
||||||
await sleep(0.1)
|
await sleep(0.1)
|
||||||
finally:
|
finally:
|
||||||
await eventsub.unsubscribe_all_known()
|
await eventsub.unsubscribe_all()
|
||||||
await eventsub.stop()
|
await eventsub.stop()
|
||||||
|
|
||||||
|
await sleep(10)
|
||||||
|
|
||||||
await self.twitch.close()
|
await self.twitch.close()
|
||||||
|
|
||||||
raise RuntimeError("Twitch service stopped")
|
raise RuntimeError("Twitch service stopped")
|
||||||
|
|||||||
Reference in New Issue
Block a user