From 516902a206791e4dea609369a3c2c69c0c262738 Mon Sep 17 00:00:00 2001 From: Myned Date: Sun, 31 Dec 2017 21:25:37 -0500 Subject: [PATCH] Added auto-hearting to tasks file (requires deleting tasks.pkl --- src/utils/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/utils.py b/src/utils/utils.py index 55e1b9f..4c555fe 100644 --- a/src/utils/utils.py +++ b/src/utils/utils.py @@ -83,7 +83,7 @@ def dump(obj, filename, *, json=False): settings = setdefault('misc/settings.pkl', {'del_ctx': [], 'prefixes': {}}) -tasks = setdefault('cogs/tasks.pkl', {'auto_del': [], 'auto_rev': [], 'periodic_gpm': []}) +tasks = setdefault('cogs/tasks.pkl', {'auto_del': [], 'auto_hrt': [], 'auto_rev': [], 'periodic_gpm': []}) temp = setdefault('temp/temp.pkl', {'startup': ()}) secrets = setdefault('secrets.json', {'client_secrets': {'client_id': '', 'client_secret': ''}}, json=True)