Skip to content

Commit

Permalink
feat: pretty print json for data view command
Browse files Browse the repository at this point in the history
  • Loading branch information
R-unic committed Mar 31, 2024
1 parent b074d61 commit 241e9bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/meta/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class Data {
});

await command.reply({
embeds: [Embed.success(`\`\`\`json\n${JSON.stringify(result)}\`\`\``)]
embeds: [Embed.success(`\`\`\`json\n${JSON.stringify(result, undefined, 2)}\`\`\``)]
});
}
}

0 comments on commit 241e9bd

Please sign in to comment.