fix(antipolls): improved verbose logging for the cog_disabled_in_guild check
This commit is contained in:
parent
b67b692201
commit
dbe6fc2390
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ class AntiPolls(commands.Cog):
|
|||
return self.logger.verbose("Message from bot ignored")
|
||||
|
||||
if await self.bot.cog_disabled_in_guild(self, message.guild):
|
||||
return self.logger.verbose("Cog disabled in guild")
|
||||
return self.logger.verbose(f"Message ignored, cog is disabled in guild {message.guild.id}")
|
||||
|
||||
guild_config = await self.config.guild(message.guild).all()
|
||||
|
||||
|
|
Loading…
Reference in a new issue