Skip to content

Commit

Permalink
fix: reports can now be cancelled (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
qLunar authored Sep 29, 2023
1 parent d26ed54 commit 82fea26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chiya/cogs/apps/report_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ async def submit(self, interaction: discord.Interaction, button: discord.ui.Butt
style=discord.ButtonStyle.secondary,
custom_id="cancel_report",
)
async def cancel(self, button: discord.ui.Button, interaction: discord.Interaction) -> None:
async def cancel(self, interaction: discord.Interaction, button: discord.ui.Button) -> None:
"""
Create a View for the report message embed cancel button.
"""
Expand Down

0 comments on commit 82fea26

Please sign in to comment.