fix(suggestions): forgot to undo part of one of the previous fixes
Some checks reported warnings
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled

This commit is contained in:
Seaswimmer 2023-09-21 12:48:14 -04:00
parent 7c0ab73ac0
commit 298bf8a3dc
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -663,8 +663,8 @@ class SuggestionDenyModal(discord.ui.Modal, title="Denying suggestion..."):
@app_commands.context_menu(name="Approve Suggestion") @app_commands.context_menu(name="Approve Suggestion")
async def approve_context(interaction: discord.Interaction, message: discord.Message): async def approve_context(interaction: discord.Interaction, message: discord.Message):
await interaction.response.send_modal(SuggestionApproveModal(interaction, message)) await interaction.response.send_modal(SuggestionApproveModal(message))
@app_commands.context_menu(name="Deny Suggestion") @app_commands.context_menu(name="Deny Suggestion")
async def deny_context(interaction: discord.Interaction, message: discord.Message): async def deny_context(interaction: discord.Interaction, message: discord.Message):
await interaction.response.send_modal(SuggestionDenyModal(interaction, message)) await interaction.response.send_modal(SuggestionDenyModal(message))