From 1d78fc94bc4e13726c0908626a86d516844f7737 Mon Sep 17 00:00:00 2001 From: insert Date: Sun, 11 Aug 2024 14:23:23 -0400 Subject: [PATCH] Update --- speechbubble.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/speechbubble.py b/speechbubble.py index 318fd76..cc64d55 100644 --- a/speechbubble.py +++ b/speechbubble.py @@ -112,7 +112,7 @@ class ApplicationModal(nextcord.ui.Modal): ) await interaction.send(f"<@{self.victim.id}> {interaction.user.name} proposes the following speech bubble for you:", embed=embed, view=ApplicationView(self.bot)) - async def on_error(self, interaction: nextcord.Interaction, error: nextcord.DiscordException): + async def on_error(self, error: nextcord.DiscordException, interaction: nextcord.Interaction): error = traceback.format_exc() print(error, file=sys.stderr) message = f"```py\n{error[-1800:]}\n```\n Contact <@{self.bot.owner_id}> if the error persists"