Message events initialized

This commit is contained in:
Profitroll 2024-02-19 23:08:41 +01:00
parent d5691c2bbb
commit fe4dcc4a92
Signed by: profitroll
GPG Key ID: FA35CAB49DACD3B2
3 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1 @@
from .message_events import MessageEvents

View File

@ -0,0 +1,5 @@
from enum import Enum
class MessageEvents(Enum):
WEATHER_FORECAST = 0

View File

@ -24,6 +24,7 @@ db_client = AsyncClient(con_string)
db: AsyncDatabase = db_client.get_database(name=db_config["name"])
col_users: AsyncCollection = db.get_collection("users")
col_messages: AsyncCollection = db.get_collection("messages")
col_warnings: AsyncCollection = db.get_collection("warnings")
col_checkouts: AsyncCollection = db.get_collection("checkouts")
col_trackings: AsyncCollection = db.get_collection("trackings")