From 6dedd74e97e021e4749df785b5e7a1d9c41988e0 Mon Sep 17 00:00:00 2001 From: Ave Ozkal Date: Thu, 27 Dec 2018 14:32:16 +0300 Subject: [PATCH] Fix one mention of old userlog file --- cogs/logs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/logs.py b/cogs/logs.py index 07cd8ea..eacb794 100644 --- a/cogs/logs.py +++ b/cogs/logs.py @@ -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: