From 946bc3daeca694ad54a6285f884174e5069de4c1 Mon Sep 17 00:00:00 2001 From: David Lougheed Date: Sat, 21 Sep 2024 08:46:02 -0400 Subject: [PATCH] fix: broken role restoration due to missing await (#640) --- canary/cogs/roles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/canary/cogs/roles.py b/canary/cogs/roles.py index af2c08e6..24d37902 100644 --- a/canary/cogs/roles.py +++ b/canary/cogs/roles.py @@ -272,7 +272,7 @@ async def previous_roles(self, ctx: commands.Context, user: discord.Member): A moderator can click the OK react on the message to give these roles back """ - if is_in_muted_table(self.bot, user): + if await is_in_muted_table(self.bot, user): await ctx.send("Cannot restore roles to a muted user") return