Add a message about the currently watched channel going offline

This commit is contained in:
DevilXD
2021-12-04 16:25:23 +01:00
parent 2c6e385b32
commit d83420fbbe

View File

@@ -203,6 +203,7 @@ class Twitch:
logger.info(f"{channel.name} goes OFFLINE")
channel.set_offline()
if self.is_currently_watching(channel):
print(f"{channel.name} goes OFFLINE, switching...")
# change the channel if we're currently watching it
self._channel_change.set()
elif msg_type == "stream-up":