MCPcopy Create free account
hub / github.com/TechifyBots/File-Stream-Bot / __init__

Method __init__

biisal/utils/database.py:9–13  ·  view source on GitHub ↗
(self, uri, database_name)

Source from the content-addressed store, hash-verified

7
8class Database:
9 def __init__(self, uri, database_name):
10 self._client = motor.motor_asyncio.AsyncIOMotorClient(uri)
11 self.db = self._client[database_name]
12 self.col = self.db.users
13 self.bannedList = self.db.bannedList
14
15 def new_user(self, id):
16 return dict(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected