fix(suggestions): lets try that
Some checks reported warnings
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled

again!
This commit is contained in:
SeaswimmerTheFsh 2023-09-21 12:32:32 -04:00
parent 5aa938acb8
commit 15872748c2
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 5019678FD9CF50D8

View file

@ -632,7 +632,7 @@ class SuggestionDenyModal(discord.ui.Modal, title="Denying suggestion..."):
)
async def on_submit(self, interaction: discord.Interaction):
cog = Red.get_cog('Suggestions')
cog = Red.get_cog(name='Suggestions')
if self.reason.value != "":
await Suggestions._interaction_finish_suggestion(cog, interaction, self.message, False, self.reason.value)
else: