mirror of
https://github.com/Ryujinx/ryuko-ng.git
synced 2024-12-22 20:25:34 +00:00
Merge pull request #66 from Ryujinx/fix/logs-on_member_join
logs: fix on_member_join crash
This commit is contained in:
commit
9433380a69
|
@ -36,7 +36,7 @@ class Logs(Cog):
|
|||
async def on_member_join(self, member):
|
||||
await self.bot.wait_until_ready()
|
||||
|
||||
if (member_after.guild.id not in config.guild_whitelist):
|
||||
if (member.guild.id not in config.guild_whitelist):
|
||||
return
|
||||
|
||||
log_channel = self.bot.get_channel(config.log_channel)
|
||||
|
|
Loading…
Reference in a new issue