fix(aurora): fixed some formatting
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 41s

This commit is contained in:
Seaswimmer 2024-08-12 17:49:51 -04:00
parent bf36e99224
commit 08278c2de4
Signed by: cswimr
GPG key ID: 3813315477F26F82

View file

@ -1128,7 +1128,7 @@ class Aurora(commands.Cog):
registered_type = type_registry.get(moderation_type) registered_type = type_registry.get(moderation_type)
except RegistryKeyError: except RegistryKeyError:
types = "`, `".join(type_registry.keys()) types = "`, `".join(type_registry.keys())
await ctx.send(error("`moderation_type` is not a valid moderation type.\nValid types are:\n" + types)) await ctx.send(error(f"`{moderation_type}` is not a valid moderation type.\nValid types are:\n`{types}`"))
return return
msg = await ctx.send(embed=await type_embed(ctx, registered_type)) msg = await ctx.send(embed=await type_embed(ctx, registered_type))
await msg.edit(view=Types(ctx, msg, registered_type)) await msg.edit(view=Types(ctx, msg, registered_type))