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

Method new_user

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

Source from the content-addressed store, hash-verified

13 self.col = self.db.users
14
15 def new_user(self, id, name):
16 return dict(
17 id = id,
18 name = name,
19 )
20
21 async def add_user(self, id, name):
22 user = self.new_user(id, name)

Callers 1

add_userMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected