diff --git a/logger/logger.py b/logger/logger.py index a4be99c..e990140 100644 --- a/logger/logger.py +++ b/logger/logger.py @@ -18,11 +18,11 @@ class Logger(commands.Cog): if not payload.guild_id: return - if self.bot.cog_disabled_in_guild(self, payload.guild_id): + if await self.bot.cog_disabled_in_guild(self, payload.guild_id): return - #if payload.channel_id in await config.guild(payload.guild_id).message_ignored_channels(): - #return + if payload.channel_id in await config.guild(payload.guild_id).message_ignored_channels(): + return if payload.cached_message: if payload.cached_message.author.bot: