fix(aurora): fixed some formatting
This commit is contained in:
parent
bf36e99224
commit
08278c2de4
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue