fix(forums): fixed reason not being set to anything
Some checks reported warnings
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled

This commit is contained in:
Seaswimmer 2023-09-07 19:36:47 -04:00
parent ea083608f3
commit 10dd73ac6b
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

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