diff --git a/suggestions/suggestions.py b/suggestions/suggestions.py index cfd3a4d..aaa4827 100644 --- a/suggestions/suggestions.py +++ b/suggestions/suggestions.py @@ -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: