From e103d3cc9590f111466c92f82d1763ef97bdbf14 Mon Sep 17 00:00:00 2001 From: Niko Date: Sat, 23 Nov 2024 20:46:41 -0700 Subject: [PATCH] Pretty print debug data --- scripty_commands/src/cmds/debug.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripty_commands/src/cmds/debug.rs b/scripty_commands/src/cmds/debug.rs index 6cd0039..f0cfd26 100644 --- a/scripty_commands/src/cmds/debug.rs +++ b/scripty_commands/src/cmds/debug.rs @@ -15,7 +15,7 @@ pub async fn debug(ctx: Context<'_>) -> Result<(), Error> { CreateReply::new() .content(format_message!(resolved_language, "debug-info-message")) .attachment(CreateAttachment::bytes( - format!("{:?}", state), + format!("{:#?}", state), Cow::Borrowed("debug_info.txt"), )), )