Browse Source

Fix one mention of old userlog file

main
Ave Ozkal 2 years ago
parent
commit
29a6c8565e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      cogs/logs.py

+ 1
- 1
cogs/logs.py View File

@ -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…
Cancel
Save