mirror of
https://github.com/kurbezz/discord-bot.git
synced 2025-12-06 15:15:37 +01:00
Fix
This commit is contained in:
@@ -71,7 +71,10 @@ class TwitchService:
|
|||||||
streamers = await StreamerConfigRepository.all()
|
streamers = await StreamerConfigRepository.all()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
logger.info("Unsubscribe from all events...")
|
||||||
await eventsub.unsubscribe_all()
|
await eventsub.unsubscribe_all()
|
||||||
|
await sleep(5)
|
||||||
|
logger.info("Unsubscribe from all events done")
|
||||||
|
|
||||||
eventsub.start()
|
eventsub.start()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user