From 8b8f05ce5073c4424713d31aaa691fb59e7bc231 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Fri, 15 Dec 2023 17:54:38 -0500 Subject: [PATCH] fix(moderation): fixed audit log logging --- moderation/moderation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: