Skip to content

Commit

Permalink
updating json indent to 2
Browse files Browse the repository at this point in the history
  • Loading branch information
sarzz2 committed Nov 14, 2023
1 parent eadf4ab commit 84eece2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ async def publish_error(self, interaction: "InteractionType", error: app_command
f"Ignored exception in command **{interaction.command.qualified_name}** Invoked by **{interaction.user}**"
f"in channel **{interaction.channel.name}**"
)
invoked_details_document = await paste.create(str(json.dumps(interaction.data, indent=4)))
invoked_details_document = await paste.create(str(json.dumps(interaction.data, indent=2)))

def wrap(code: str) -> str:
code = code.replace("`", "\u200b`")
Expand Down

0 comments on commit 84eece2

Please sign in to comment.