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

Method get_user_pass

biisal/utils/database.py:29–31  ·  view source on GitHub ↗
(self, id)

Source from the content-addressed store, hash-verified

27 await self.col.update_one({'id': int(id)}, {'$set': {'ag_p': ag_pass}})
28
29 async def get_user_pass(self, id):
30 user_pass = await self.col.find_one({'id': int(id)})
31 return user_pass.get("ag_p", None) if user_pass else None
32
33 async def is_user_exist(self, id):
34 user = await self.col.find_one({'id': int(id)})

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected