Add a message about the currently watched channel going offline
This commit is contained in:
1 parent
2c6e385b32
commit
d83420fbbe
1 file changed
+1
@@ -203,6 +203,7 @@ class Twitch:
|
|||||||
logger.info(f"{channel.name} goes OFFLINE")
|
logger.info(f"{channel.name} goes OFFLINE")
|
||||||
channel.set_offline()
|
channel.set_offline()
|
||||||
if self.is_currently_watching(channel):
|
if self.is_currently_watching(channel):
|
||||||
|
print(f"{channel.name} goes OFFLINE, switching...")
|
||||||
# change the channel if we're currently watching it
|
# change the channel if we're currently watching it
|
||||||
self._channel_change.set()
|
self._channel_change.set()
|
||||||
elif msg_type == "stream-up":
|
elif msg_type == "stream-up":
|
||||||
|
|||||||
Reference in new issue
Block a user