add admin logic

This commit is contained in:
2025-02-23 00:37:04 +03:00
parent 8c191ca139
commit be24e124bb
9 changed files with 389 additions and 26 deletions
+3
View File
@@ -20,3 +20,6 @@ class DB:
def exist(self, query):
return self.collection.find_one(query) is not None
def delete(self, query):
self.collection.delete_one(query)