From dbe6fc2390aaa6eb80be674463577b4bdd7f4a68 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Tue, 16 Apr 2024 11:14:11 -0400 Subject: [PATCH] fix(antipolls): improved verbose logging for the cog_disabled_in_guild check --- antipolls/antipolls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/antipolls/antipolls.py b/antipolls/antipolls.py index c0c8f59..8834274 100644 --- a/antipolls/antipolls.py +++ b/antipolls/antipolls.py @@ -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()