Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/CodeXBotz/File-Sharing-Bot
/ present_user
Function
present_user
database/database.py:18–23 ·
view source on GitHub ↗
(user_id : int)
Source
from the content-addressed store, hash-verified
16
17
18
async
def
present_user(user_id : int):
19
found = user_data.find_one({
'_id'
: user_id})
20
if
found:
21
return
True
22
else
:
23
return
False
24
25
async
def
add_user(user_id: int):
26
user_data.insert_one({
'_id'
: user_id})
Callers
1
start_command
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected