[Streams] Fix alerts with no configured mentions (#2305)

This commit is contained in:
odinair 2018-11-23 16:14:43 -07:00 committed by Toby Harradine
parent ca533f8937
commit d17c2430d7

View File

@ -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)