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

Method delete_user

clone_plugins/dbusers.py:30–31  ·  view source on GitHub ↗
(self, bot_id, user_id)

Source from the content-addressed store, hash-verified

28 return self.db[str(bot_id)].find({})
29
30 async def delete_user(self, bot_id, user_id):
31 await self.db[str(bot_id)].delete_many({'user_id': int(user_id)})
32
33
34clonedb = Database(CLONE_DB_URI, CDB_NAME)

Callers 1

broadcast_messagesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected