From b1559494a9e57607b284264f68e474538b04a208 Mon Sep 17 00:00:00 2001 From: Aaron Kable Date: Sat, 12 Oct 2024 19:28:17 +0800 Subject: [PATCH] string literals --- aadiscordbot/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aadiscordbot/bot.py b/aadiscordbot/bot.py index 3d1329f..8f1db7e 100644 --- a/aadiscordbot/bot.py +++ b/aadiscordbot/bot.py @@ -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__)