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__)