fix(logger): awaited a coroutine
This commit is contained in:
parent
1a26d82c36
commit
24703bb32f
1 changed files with 3 additions and 3 deletions
|
@ -18,11 +18,11 @@ class Logger(commands.Cog):
|
||||||
if not payload.guild_id:
|
if not payload.guild_id:
|
||||||
return
|
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
|
return
|
||||||
|
|
||||||
#if payload.channel_id in await config.guild(payload.guild_id).message_ignored_channels():
|
if payload.channel_id in await config.guild(payload.guild_id).message_ignored_channels():
|
||||||
#return
|
return
|
||||||
|
|
||||||
if payload.cached_message:
|
if payload.cached_message:
|
||||||
if payload.cached_message.author.bot:
|
if payload.cached_message.author.bot:
|
||||||
|
|
Loading…
Reference in a new issue