diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2019-01-28 19:27:51 +0100 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2019-02-15 00:20:26 +0100 |
commit | c8aa7db2e9731cc003718d71a326a12d64e4c438 (patch) | |
tree | 73bcdfae9b4cf79d594dde1a8a7dce8e998c671e | |
parent | c15bc7c17d0a70e3bd0b3480a6cc83af16f617b3 (diff) | |
download | wee-slack-c8aa7db2e9731cc003718d71a326a12d64e4c438.tar.gz |
Print connecting message on start
-rw-r--r-- | wee_slack.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wee_slack.py b/wee_slack.py index 2504da3..5c75431 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -4381,6 +4381,8 @@ if __name__ == "__main__": # attach to the weechat hooks we need tokens = map(string.strip, config.slack_api_token.split(',')) + w.prnt('', 'Connecting to {} slack team{}.' + .format(len(tokens), '' if len(tokens) == 1 else 's')) for t in tokens: s = initiate_connection(t) EVENTROUTER.receive(s) |