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

Method get_bot

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

Source from the content-addressed store, hash-verified

114 await self.bot.delete_many({'user_id': int(user_id)})
115
116 async def get_bot(self, user_id: int):
117 bot = await self.bot.find_one({'user_id': user_id})
118 return bot if bot else None
119
120 async def is_bot_exist(self, user_id):
121 bot = await self.bot.find_one({'user_id': user_id})

Callers 3

get_dataMethod · 0.80
settings_queryFunction · 0.80
runFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected