randydev commited on
Commit
7283598
1 Parent(s): 76c0e4a

Update chatbot/plugins/user_database.py

Browse files
Files changed (1) hide show
  1. chatbot/plugins/user_database.py +8 -1
chatbot/plugins/user_database.py CHANGED
@@ -1,6 +1,13 @@
1
  import os
 
 
 
 
 
2
  from motor.motor_asyncio import AsyncIOMotorClient
3
- from config import MONGO_URL
 
 
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"]