From 3da2d74a485ed8ecf75a08d021660f55c373dd34 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Tue, 16 Apr 2024 10:47:45 -0400 Subject: [PATCH] fix(antipolls): added more verbose logging to a listener --- antipolls/antipolls.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/antipolls/antipolls.py b/antipolls/antipolls.py index 2c4d508..ddec2d8 100644 --- a/antipolls/antipolls.py +++ b/antipolls/antipolls.py @@ -75,7 +75,8 @@ class AntiPolls(commands.Cog): except discord.HTTPException as e: return self.logger.error(f"Failed to delete message: {e}") - self.logger.trace(f"Deleted poll message {message.id}") + return self.logger.trace(f"Deleted poll message {message.id}") + self.logger.verbose(f"Message {message.id} is not a poll, ignoring") @commands.group(name="antipolls", aliases=["ap"]) @commands.guild_only()