mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-05 17:02:32 -05:00
[Streams] Fix alerts with no configured mentions (#2305)
This commit is contained in:
@@ -543,7 +543,7 @@ class Streams(commands.Cog):
|
|||||||
mention=mention_str, stream=stream
|
mention=mention_str, stream=stream
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
content = _("{stream.name} is live!").format(stream=stream.name)
|
content = _("{stream.name} is live!").format(stream=stream)
|
||||||
|
|
||||||
m = await channel.send(content, embed=embed)
|
m = await channel.send(content, embed=embed)
|
||||||
stream._messages_cache.append(m)
|
stream._messages_cache.append(m)
|
||||||
|
|||||||
Reference in New Issue
Block a user