fix(aurora): fixed a bug in /case with exports to codeblocks being improperly formatted

This commit is contained in:
Seaswimmer 2024-05-03 20:09:23 -04:00
parent a7fcbc4dab
commit b8a4d247f8
Signed by untrusted user: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -1421,7 +1421,7 @@ class Aurora(commands.Cog):
os.remove(filename)
return
await interaction.response.send_message(
content=box({json.dumps(case_dict, indent=2)}),
content=box(json.dumps(case_dict, indent=2), 'json'),
ephemeral=ephemeral,
)
return