Update chatbot/plugins/user_database.py
Browse files
chatbot/plugins/user_database.py
CHANGED
@@ -1,6 +1,13 @@
|
|
1 |
import os
|
|
|
|
|
|
|
|
|
|
|
2 |
from motor.motor_asyncio import AsyncIOMotorClient
|
3 |
-
|
|
|
|
|
4 |
|
5 |
client = AsyncIOMotorClient(MONGO_URL)
|
6 |
db = client["Akeno"]
|
|
|
1 |
import os
|
2 |
+
from dotenv import load_dotenv
|
3 |
+
|
4 |
+
import datetime
|
5 |
+
import time
|
6 |
+
|
7 |
from motor.motor_asyncio import AsyncIOMotorClient
|
8 |
+
|
9 |
+
load_dotenv()
|
10 |
+
MONGO_URL = os.environ["MONGO_URL"]
|
11 |
|
12 |
client = AsyncIOMotorClient(MONGO_URL)
|
13 |
db = client["Akeno"]
|