misc(suggestions): added typechecking to _interaction_finish_suggestion
This commit is contained in:
parent
48c75b80f6
commit
9d0450b223
1 changed files with 1 additions and 1 deletions
|
@ -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 #"):
|
||||
|
|
Loading…
Reference in a new issue