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
Some checks reported warnings
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
This commit is contained in:
parent
7c0ab73ac0
commit
298bf8a3dc
1 changed files with 2 additions and 2 deletions
|
@ -663,8 +663,8 @@ class SuggestionDenyModal(discord.ui.Modal, title="Denying suggestion..."):
|
|||
|
||||
@app_commands.context_menu(name="Approve Suggestion")
|
||||
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")
|
||||
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))
|
||||
|
|
Loading…
Reference in a new issue