Create user_database.py
Browse files
chatbot/plugins/user_database.py
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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"]
|
7 |
+
users_collection = db["web_langs"]
|