forked from blizzthewolf/SeaCogs
fix(antipolls): added more verbose logging to a listener
This commit is contained in:
parent
4344d26096
commit
3da2d74a48
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue