From 9d0450b22396929d9eda72d2cec57c8f062bb441 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Thu, 21 Sep 2023 11:09:13 -0400 Subject: [PATCH] misc(suggestions): added typechecking to _interaction_finish_suggestion --- suggestions/suggestions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suggestions/suggestions.py b/suggestions/suggestions.py index 74f38fd..b7f8c54 100644 --- a/suggestions/suggestions.py +++ b/suggestions/suggestions.py @@ -520,7 +520,7 @@ class Suggestions(commands.Cog): ) await ctx.tick() - async def _interaction_finish_suggestion(self, interaction: discord.Interaction, message: discord.Message, approve, reason = None): + async def _interaction_finish_suggestion(self, interaction: discord.Interaction, message: discord.Message, approve: bool, reason: str = None): embed = message.embeds title = embed[0].title if not title.startswith("Suggestion #"):