From 602d759e6716f15344f1f5bc931a9967f4f65423 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Tue, 16 Apr 2024 10:49:20 -0400 Subject: [PATCH] fix(antipolls): awaited a coroutine --- antipolls/antipolls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/antipolls/antipolls.py b/antipolls/antipolls.py index ddec2d8..53974be 100644 --- a/antipolls/antipolls.py +++ b/antipolls/antipolls.py @@ -53,7 +53,7 @@ class AntiPolls(commands.Cog): if message.author.bot: return self.logger.verbose("Message from bot ignored") - if self.bot.cog_disabled_in_guild(self, message.guild): + if await self.bot.cog_disabled_in_guild(self, message.guild): return self.logger.verbose("Cog disabled in guild") guild_config = await self.config.guild(message.guild).all()