diff options
Diffstat (limited to 'wee_slack.py')
-rw-r--r-- | wee_slack.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/wee_slack.py b/wee_slack.py index 0625c29..3e68794 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -2428,14 +2428,8 @@ def handle_rtmstart(login_data, eventrouter): t.set_reconnect_url(login_data['url']) t.connect() - t.buffer_prnt('Connected to Slack') - t.buffer_prnt('{:<20} {}'.format("Websocket URL", login_data["url"])) - t.buffer_prnt('{:<20} {}'.format("User name", login_data["self"]["name"])) - t.buffer_prnt('{:<20} {}'.format("User ID", login_data["self"]["id"])) - t.buffer_prnt('{:<20} {}'.format("Team name", login_data["team"]["name"])) - t.buffer_prnt('{:<20} {}'.format("Team domain", login_data["team"]["domain"])) - t.buffer_prnt('{:<20} {}'.format("Team id", login_data["team"]["id"])) - + t.buffer_prnt('Connected to Slack team {} ({}) with username {}'.format( + login_data["team"]["name"], t.domain, t.nick)) dbg("connected to {}".format(t.domain)) |