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

Method is_userbot_exist

database.py:135–137  ·  view source on GitHub ↗
(self, user_id)

Source from the content-addressed store, hash-verified

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})
137 return bool(bot)
138
139 async def in_channel(self, user_id: int, chat_id: int) -> bool:
140 channel = await self.chl.find_one({"user_id": int(user_id), "chat_id": int(chat_id)})

Callers 1

add_userbotMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected