From e956e6e3209bfa2b79e231e54488d945c1f4f9e7 Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 31 May 2019 16:41:23 -0400 Subject: [PATCH] [Streams] Ignore lack of rerun info where not available (#2748) --- redbot/cogs/streams/streams.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/redbot/cogs/streams/streams.py b/redbot/cogs/streams/streams.py index cd7478f88..83a67f4fc 100644 --- a/redbot/cogs/streams/streams.py +++ b/redbot/cogs/streams/streams.py @@ -547,7 +547,11 @@ class Streams(commands.Cog): for stream in self.streams: with contextlib.suppress(Exception): try: - embed, is_rerun = await stream.is_online() + if stream.__class__.__name__ == "TwitchStream": + embed, is_rerun = await stream.is_online() + else: + embed = await stream.is_online() + is_rerun = False except OfflineStream: if not stream._messages_cache: continue