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

Function get_user

clone_plugins/users_api.py:37–48  ·  view source on GitHub ↗
(user_id)

Source from the content-addressed store, hash-verified

35# Ask Doubt on telegram @KingVJ01
36
37async def get_user(user_id):
38 user_id = int(user_id)
39 user = await col.find_one({"user_id": user_id})
40 if not user:
41 res = {
42 "user_id": user_id,
43 "shortener_api": None,
44 "base_site": None,
45 }
46 await col.insert_one(res)
47 user = await col.find_one({"user_id": user_id})
48 return user
49
50# Don't Remove Credit Tg - @VJ_Bots
51# Subscribe YouTube Channel For Amazing Bot https://youtube.com/@Tech_VJ

Callers 3

shortener_api_handlerFunction · 0.90
base_site_handlerFunction · 0.90
gen_link_sFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected