mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 11:48:55 -05:00
[Streams] Fix alerts with no configured mentions (#2305)
This commit is contained in:
parent
ca533f8937
commit
d17c2430d7
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user