mirror of
https://github.com/Ryujinx/ryuko-ng.git
synced 2024-12-22 19:45:27 +00:00
Fix broken get_userlog in logs
This commit is contained in:
parent
dea6cf5f38
commit
bf59634898
|
@ -133,7 +133,7 @@ class Logs(Cog):
|
|||
await member.add_roles(*roles)
|
||||
|
||||
# Real hell zone.
|
||||
warns = get_userlog()
|
||||
warns = get_userlog(self.bot)
|
||||
try:
|
||||
if len(warns[str(member.id)]["warns"]) == 0:
|
||||
await log_channel.send(msg)
|
||||
|
|
Loading…
Reference in a new issue