forked from cswimr/SeaCogs
fix(aurora): awaited two coroutines
This commit is contained in:
parent
13e82f8768
commit
4a262dc6a1
1 changed files with 2 additions and 2 deletions
|
@ -38,14 +38,14 @@ class Configuration(Mixin):
|
||||||
"""Manage the addrole whitelist.
|
"""Manage the addrole whitelist.
|
||||||
|
|
||||||
Roles added to this list are also applied to `/removerole`."""
|
Roles added to this list are also applied to `/removerole`."""
|
||||||
await ctx.send(embed=await addrole(ctx), view=addrole(ctx))
|
await ctx.send(embed=await addrole(ctx), view=await addrole(ctx))
|
||||||
|
|
||||||
@aurora_settings.command(name="immunity")
|
@aurora_settings.command(name="immunity")
|
||||||
@commands.admin_or_permissions(manage_guild=True)
|
@commands.admin_or_permissions(manage_guild=True)
|
||||||
@commands.guild_only()
|
@commands.guild_only()
|
||||||
async def aurora_settings_immunity(self, ctx: commands.Context):
|
async def aurora_settings_immunity(self, ctx: commands.Context):
|
||||||
"""Manage the immunity whitelist."""
|
"""Manage the immunity whitelist."""
|
||||||
await ctx.send(embed=await immune(ctx), view=immune(ctx))
|
await ctx.send(embed=await immune(ctx), view=await immune(ctx))
|
||||||
|
|
||||||
@aurora.group(autohelp=True, name="import")
|
@aurora.group(autohelp=True, name="import")
|
||||||
@commands.admin()
|
@commands.admin()
|
||||||
|
|
Loading…
Reference in a new issue