fix(video): Fix alert exists assumption.
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user