Update
This commit is contained in:
parent
989afd0b66
commit
1d78fc94bc
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
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()
|
error = traceback.format_exc()
|
||||||
print(error, file=sys.stderr)
|
print(error, file=sys.stderr)
|
||||||
message = f"```py\n{error[-1800:]}\n```\n Contact <@{self.bot.owner_id}> if the error persists"
|
message = f"```py\n{error[-1800:]}\n```\n Contact <@{self.bot.owner_id}> if the error persists"
|
||||||
|
|
Loading…
Reference in a new issue