Skip to content

Commit

Permalink
Pretty print debug data
Browse files Browse the repository at this point in the history
  • Loading branch information
tazz4843 committed Nov 24, 2024
1 parent c0b8978 commit e103d3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripty_commands/src/cmds/debug.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
)),
)
Expand Down

0 comments on commit e103d3c

Please sign in to comment.