MCPcopy Create free account
hub / github.com/VJBots/VJ-Forward-Bot / get_userbot

Method get_userbot

database.py:131–133  ·  view source on GitHub ↗
(self, user_id: int)

Source from the content-addressed store, hash-verified

129 await self.userbot.delete_many({'user_id': int(user_id)})
130
131 async def get_userbot(self, user_id: int):
132 bot = await self.userbot.find_one({'user_id': user_id})
133 return bot if bot else None
134
135 async def is_userbot_exist(self, user_id):
136 bot = await self.userbot.find_one({'user_id': user_id})

Callers 4

get_dataMethod · 0.80
settings_queryFunction · 0.80
runFunction · 0.80
unequifyFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected