Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
invisig0th committed Jan 25, 2022
1 parent 905062d commit e421b94
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions synapse/lib/stormtypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -6868,6 +6868,19 @@ class User(Prim):
{'name': 'iden', 'type': 'str', 'desc': 'The iden of the Role.', },
),
'returns': {'type': 'null', }}},
{'name': 'tell', 'desc': 'Send a tell notification to a user.',
'type': {'type': 'function', '_funcname': '_methUserTell',
'args': (
{'name': 'text', 'type': 'str', 'desc': 'The text of the message to send.', },
),
'returns': {'type': 'null', }}},
{'name': 'notify', 'desc': 'Send an arbitrary user notification.',
'type': {'type': 'function', '_funcname': '_methUserNotify',
'args': (
{'name': 'mesgtype', 'type': 'str', 'desc': 'The notfication type.', },
{'name': 'mesgdata', 'type': 'dict', 'desc': 'The notification data.', },
),
'returns': {'type': 'null', }}},
{'name': 'addRule', 'desc': 'Add a rule to the User.',
'type': {'type': 'function', '_funcname': '_methUserAddRule',
'args': (
Expand Down

0 comments on commit e421b94

Please sign in to comment.