MCPcopy Create free account
hub / github.com/TechifyBots/Rename-Bot / is_user_exist

Method is_user_exist

helper/database.py:43–45  ·  view source on GitHub ↗
(self, id)

Source from the content-addressed store, hash-verified

41 await send_log(b, u)
42
43 async def is_user_exist(self, id):
44 user = await self.col.find_one({'_id': int(id)})
45 return bool(user)
46
47 async def total_users_count(self):
48 count = await self.col.count_documents({})

Callers 1

add_userMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected