Fix broken get_userlog in logs

This commit is contained in:
Mary 2023-04-05 18:33:24 +02:00
parent dea6cf5f38
commit bf59634898

View file

@ -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)