From 10dd73ac6b51b86bdbe0f0838cf3fa7beaf3f37a Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Thu, 7 Sep 2023 19:36:47 -0400 Subject: [PATCH] fix(forums): fixed reason not being set to anything --- forums/forums.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/forums/forums.py b/forums/forums.py index a48b33f..ca52d57 100644 --- a/forums/forums.py +++ b/forums/forums.py @@ -43,6 +43,8 @@ class Forums(commands.Cog): self.msg: discord.Message = passed_info['msg'] if 'reason' in passed_info: self.reason: str = passed_info['reason'] + else: + self.reason = False self.config = Config.get_conf(None, cog_name='Forums', identifier=2352711325) @ui.button(label="Yes", style=discord.ButtonStyle.success, emoji="✅")