diff --git a/moderation/moderation.py b/moderation/moderation.py index c9b7430..b049e32 100644 --- a/moderation/moderation.py +++ b/moderation/moderation.py @@ -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: