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

Method get_user_data

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

Source from the content-addressed store, hash-verified

136 )
137
138 async def get_user_data(self, id) -> dict:
139 user_data = await self.col.find_one({'_id': int(id)})
140 return user_data or None
141
142 async def get_user(self, user_id):
143 user_data = await self.premium.find_one({"id": user_id})

Callers 5

myplanFunction · 0.80
rename_startFunction · 0.80
upload_docFunction · 0.80
add_premiumFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected