fix(video): Fix alert exists assumption.

This commit is contained in:
2023-10-08 11:34:45 +03:00
parent 4db7e5a943
commit 91a3f595b5

View File

@@ -393,7 +393,7 @@ class VideoCog(LionCog):
only_warn = True only_warn = True
# Ack based on ticket created # Ack based on ticket created
alert_ref = message.to_reference(fail_if_not_exists=False) alert_ref = message.to_reference(fail_if_not_exists=False) if message else None
if only_warn: if only_warn:
# TODO: Warn ticket # TODO: Warn ticket
warning = discord.Embed( warning = discord.Embed(