From bad15963249f7637f21072a5a412cf51b74adaa6 Mon Sep 17 00:00:00 2001 From: DevilXD Date: Wed, 26 Jan 2022 19:36:09 +0100 Subject: [PATCH] Print a message when a priority channel goes online; and triggers a switch --- twitch.py | 1 + 1 file changed, 1 insertion(+) diff --git a/twitch.py b/twitch.py index b6ee9de2..473ab317 100644 --- a/twitch.py +++ b/twitch.py @@ -437,6 +437,7 @@ def on_online(self, channel: Channel): if channel.priority: wch = self.watching_channel.get_with_default(None) if wch is not None and not wch.priority and self.can_watch(channel): + self.gui.print(f"{channel.name} goes ONLINE, switching...") self.watch(channel) def on_offline(self, channel: Channel):