Fix broken get_userlog in logs
This commit is contained in:
parent
dea6cf5f38
commit
bf59634898
1 changed files with 1 additions and 1 deletions
|
@ -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