aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 18ff60b..3c37102 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -2679,6 +2679,12 @@ def handle_usergroupsuserslist(users_json, eventrouter, **kwargs):
user = team.users[user_identifier]
team.buffer_prnt(" {:<25}({})".format(user.name, user.presence))
+
+def handle_usersprofileset(json, eventrouter, **kwargs):
+ if not json['ok']:
+ w.prnt('', 'ERROR: Failed to set profile: {}'.format(json['error']))
+
+
###### New/converted process_ and subprocess_ methods
def process_hello(message_json, eventrouter, **kwargs):
kwargs['team'].subscribe_users_presence()