Skip to content

Commit

Permalink
string literals
Browse files Browse the repository at this point in the history
  • Loading branch information
pvyParts committed Oct 12, 2024
1 parent dc15c7c commit b155949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aadiscordbot/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ async def on_application_command_error(self, context: ApplicationContext, except
if app_settings.DISCORD_BOT_SEND_FAILURE_MESSAGES and app_settings.DISCORD_BOT_FAILURE_MESSAGES_CHANNEL:
message = [f"`{context.command}` failed for `{context.author}`\n",
f"**Exception:** ```{exception}```",
f"\n**Interaction:** ```{str(context.interaction.data).replace("`", " '")}```",
f"\n**Interaction:** ```{str(context.interaction.data).replace('`', ' `')}```",
"\n**Trace:**```"]
message += traceback.format_tb(
exception.original.__traceback__)
Expand Down

0 comments on commit b155949

Please sign in to comment.