(user_id)
| 35 | # Ask Doubt on telegram @KingVJ01 |
| 36 | |
| 37 | async 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 |
no outgoing calls
no test coverage detected