From 943b46d4e9a509b6414309f21ba8c0d1880161d8 Mon Sep 17 00:00:00 2001 From: phxntxm Date: Mon, 28 Jan 2019 23:45:08 -0600 Subject: [PATCH] Correct what to base the status on --- cogs/picarto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/picarto.py b/cogs/picarto.py index f742d88..b12f8a4 100644 --- a/cogs/picarto.py +++ b/cogs/picarto.py @@ -100,7 +100,7 @@ WHERE gone_online = [ self.channel_info.get(name) for name in result["followed_picarto_channels"] - if self.channel_info.get(name) == "on" + if self.channel_info.get(name)["status"] == "on" ] # If they've gone online, produce the embed for them and send it if gone_online: