MCPcopy Index your code
hub / github.com/TechifyBots/File-Stream-Bot / add_user_pass

Method add_user_pass

biisal/utils/database.py:25–27  ·  view source on GitHub ↗
(self, id, ag_pass)

Source from the content-addressed store, hash-verified

23 await self.col.insert_one(user)
24
25 async def add_user_pass(self, id, ag_pass):
26 await self.add_user(int(id))
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)})

Callers

nothing calls this directly

Calls 1

add_userMethod · 0.95

Tested by

no test coverage detected