forked from blizzthewolf/SeaCogs
fix(moderation): fixed audit log logging
This commit is contained in:
parent
fd71f176f9
commit
8b8f05ce50
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ class Moderation(commands.Cog):
|
|||
async def autologger(self, entry: discord.AuditLogEntry):
|
||||
"""This method automatically logs moderations done by users manually ("right clicks")."""
|
||||
if not await self.bot.cog_disabled_in_guild(self, entry.guild):
|
||||
if await self.config.guild(entry.guild.id).ignore_other_bots() is True:
|
||||
if await self.config.guild(entry.guild).ignore_other_bots() is True:
|
||||
if entry.user.bot or entry.target.bot:
|
||||
return
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue