Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TechifyBots/File-Stream-Bot
/ delete_user
Method
delete_user
biisal/utils/database.py:45–46 ·
view source on GitHub ↗
(self, user_id)
Source
from the content-addressed store, hash-verified
43
return
all_users
44
45
async
def
delete_user(self, user_id):
46
await self.col.delete_many({
'id'
: int(user_id)})
47
48
async
def
ban_user(self , user_id):
49
user = await self.bannedList.find_one({
'banId'
: int(user_id)})
Callers
1
broadcast_
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected