Fix one mention of old userlog file
This commit is contained in:
parent
91dd17e967
commit
6dedd74e97
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ class Logs:
|
|||
await member.add_roles(*roles)
|
||||
|
||||
# Real hell zone.
|
||||
with open("data/warnsv2.json", "r") as f:
|
||||
with open("data/userlog.json", "r") as f:
|
||||
warns = json.load(f)
|
||||
try:
|
||||
if len(warns[str(member.id)]["warns"]) == 0:
|
||||
|
|
Loading…
Reference in a new issue