MCPcopy Create free account
hub / github.com/VJBots/VJ-File-Store / total_users_count

Method total_users_count

clone_plugins/dbusers.py:23–25  ·  view source on GitHub ↗
(self, bot_id)

Source from the content-addressed store, hash-verified

21 return bool(user)
22
23 async def total_users_count(self, bot_id):
24 count = await self.db[str(bot_id)].count_documents({})
25 return count
26
27 async def get_all_users(self, bot_id):
28 return self.db[str(bot_id)].find({})

Callers 1

pm_broadcastFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected