[WIP] Database rework
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
"""Module that provides all database collections"""
|
||||
"""Module that provides bot's database collections."""
|
||||
|
||||
from typing import Any, Mapping
|
||||
|
||||
@@ -24,5 +24,3 @@ db_client = AsyncClient(con_string)
|
||||
db: AsyncDatabase = db_client.get_database(name=db_config["name"])
|
||||
|
||||
col_users: AsyncCollection = db.get_collection("users")
|
||||
col_entries: AsyncCollection = db.get_collection("entries")
|
||||
col_locations: AsyncCollection = db.get_collection("locations")
|
||||
|
Reference in New Issue
Block a user