fix(antipolls): awaited a coroutine
This commit is contained in:
parent
3da2d74a48
commit
602d759e67
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue