[feat]: Add demotivators

This commit is contained in:
Sweetbread
2023-05-04 16:19:06 +03:00
parent 6f98d5acb4
commit 8bacbd0540
4 changed files with 71 additions and 94 deletions
+4
View File
@@ -43,6 +43,10 @@ db = MongoClient('localhost', 27017).Koteika
if os.path.exists('prefixes.json'):
with open('prefixes.json', 'r') as f:
prefs = load(f)
if not os.path.exists('tmp'):
os.mkdir('tmp')
else:
prefs = {"default": "*"}