mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
[Streams] Ignore lack of rerun info where not available (#2748)
This commit is contained in:
parent
2e58922d01
commit
e956e6e320
@ -547,7 +547,11 @@ class Streams(commands.Cog):
|
||||
for stream in self.streams:
|
||||
with contextlib.suppress(Exception):
|
||||
try:
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user