From 4a262dc6a1c39a24d5ec5c713782b5c9a2fc97df Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Tue, 16 Jan 2024 12:58:18 +0000 Subject: [PATCH] fix(aurora): awaited two coroutines --- aurora/configuration/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aurora/configuration/commands.py b/aurora/configuration/commands.py index f5a677b..0d1e5ef 100644 --- a/aurora/configuration/commands.py +++ b/aurora/configuration/commands.py @@ -38,14 +38,14 @@ class Configuration(Mixin): """Manage the addrole whitelist. 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") @commands.admin_or_permissions(manage_guild=True) @commands.guild_only() async def aurora_settings_immunity(self, ctx: commands.Context): """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") @commands.admin()