mirror of
https://github.com/Ryujinx/ryuko-ng.git
synced 2024-12-22 20:25:34 +00:00
logs: fix on_member_join crash
This commit is contained in:
parent
88f1d5200d
commit
06c5c63a6f
|
@ -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