From d83420fbbe4d54e5a08bc21af4ba01ca0d52da39 Mon Sep 17 00:00:00 2001 From: DevilXD Date: Sat, 4 Dec 2021 16:25:23 +0100 Subject: [PATCH] Add a message about the currently watched channel going offline --- twitch.py | 1 + 1 file changed, 1 insertion(+) diff --git a/twitch.py b/twitch.py index eeb2d17..40fbbeb 100644 --- a/twitch.py +++ b/twitch.py @@ -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":