randydev commited on
Commit
1b2006d
·
verified ·
1 Parent(s): 7ae18de

Create user_database.py

Browse files
Files changed (1) hide show
  1. chatbot/plugins/user_database.py +7 -0
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"]