MCPcopy Create free account
hub / github.com/TechifyBots/Rename-Bot / delete_user

Method delete_user

helper/database.py:55–56  ·  view source on GitHub ↗
(self, user_id)

Source from the content-addressed store, hash-verified

53 return all_users
54
55 async def delete_user(self, user_id):
56 await self.col.delete_many({'_id': int(user_id)})
57
58 async def set_thumbnail(self, id, file_id):
59 await self.col.update_one({'_id': int(id)}, {'$set': {'file_id': file_id}})

Callers 2

restart_botFunction · 0.80
broadcast_handlerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected