MCPcopy Create free account
hub / github.com/VJBots/VJ-Forward-Bot / add_user

Method add_user

database.py:25–27  ·  view source on GitHub ↗
(self, id, name)

Source from the content-addressed store, hash-verified

23 )
24
25 async def add_user(self, id, name):
26 user = self.new_user(id, name)
27 await self.col.insert_one(user)
28
29 async def is_user_exist(self, id):
30 user = await self.col.find_one({'id':int(id)})

Callers 1

startFunction · 0.80

Calls 1

new_userMethod · 0.95

Tested by

no test coverage detected