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

Method is_user_exist

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

Source from the content-addressed store, hash-verified

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)})
35 return True if user else False
36
37 async def total_users_count(self):
38 count = await self.col.count_documents({})

Callers 3

startFunction · 0.80
help_cdFunction · 0.80
private_receive_handlerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected