From 91a3f595b5295f5f559327ca299b805709bff4f5 Mon Sep 17 00:00:00 2001 From: Conatum Date: Sun, 8 Oct 2023 11:34:45 +0300 Subject: [PATCH] fix(video): Fix alert exists assumption. --- src/modules/video_channels/cog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/video_channels/cog.py b/src/modules/video_channels/cog.py index 421c28d7..7e6338ac 100644 --- a/src/modules/video_channels/cog.py +++ b/src/modules/video_channels/cog.py @@ -393,7 +393,7 @@ class VideoCog(LionCog): only_warn = True # 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: # TODO: Warn ticket warning = discord.Embed(