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

Method new_user

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

Source from the content-addressed store, hash-verified

13 self.chl = self.db.channels
14
15 def new_user(self, id, name):
16 return dict(
17 id = id,
18 name = name,
19 ban_status=dict(
20 is_banned=False,
21 ban_reason="",
22 ),
23 )
24
25 async def add_user(self, id, name):
26 user = self.new_user(id, name)

Callers 1

add_userMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected