fix(antipolls): added more verbose logging to a listener

This commit is contained in:
Seaswimmer 2024-04-16 10:47:45 -04:00
parent 4344d26096
commit 3da2d74a48
Signed by untrusted user: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -75,7 +75,8 @@ class AntiPolls(commands.Cog):
except discord.HTTPException as e: except discord.HTTPException as e:
return self.logger.error(f"Failed to delete message: {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.group(name="antipolls", aliases=["ap"])
@commands.guild_only() @commands.guild_only()