mirror of
https://github.com/Ryujinx/ryuko-ng.git
synced 2025-01-25 00:00:59 +00:00
Fix one mention of old userlog file
This commit is contained in:
parent
91dd17e967
commit
6dedd74e97
|
@ -54,7 +54,7 @@ class Logs:
|
||||||
await member.add_roles(*roles)
|
await member.add_roles(*roles)
|
||||||
|
|
||||||
# Real hell zone.
|
# Real hell zone.
|
||||||
with open("data/warnsv2.json", "r") as f:
|
with open("data/userlog.json", "r") as f:
|
||||||
warns = json.load(f)
|
warns = json.load(f)
|
||||||
try:
|
try:
|
||||||
if len(warns[str(member.id)]["warns"]) == 0:
|
if len(warns[str(member.id)]["warns"]) == 0:
|
||||||
|
|
Loading…
Reference in a new issue