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

Method add_user

plugins/dbusers.py:21–23  ·  view source on GitHub ↗
(self, id, name)

Source from the content-addressed store, hash-verified

19 )
20
21 async def add_user(self, id, name):
22 user = self.new_user(id, name)
23 await self.col.insert_one(user)
24
25 async def is_user_exist(self, id):
26 user = await self.col.find_one({'id':int(id)})

Callers 1

startFunction · 0.45

Calls 1

new_userMethod · 0.95

Tested by

no test coverage detected