diff options
author | Ryan Huber <rhuber@gmail.com> | 2015-02-12 08:41:25 -0800 |
---|---|---|
committer | Ryan Huber <rhuber@gmail.com> | 2015-02-12 08:41:25 -0800 |
commit | f04f94c81c2664b61ae755e6567ac60c82393910 (patch) | |
tree | 14f3e31f6344e93f8388adef7139ae09b1d99ca6 /wee_slack.py | |
parent | 0bdb09e299a082c316457b5216969a2723f021aa (diff) | |
download | wee-slack-f04f94c81c2664b61ae755e6567ac60c82393910.tar.gz |
fix command tab completion
Diffstat (limited to 'wee_slack.py')
-rw-r--r-- | wee_slack.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wee_slack.py b/wee_slack.py index a0d346d..d437233 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -1572,8 +1572,8 @@ if __name__ == "__main__": 'Commands:\n' + '\n'.join(cmds.keys()) + '\nUse /slack help [command] to find out more\n', - # Completion - '', + # Completions + '|'.join(cmds.keys()), # Function name 'slack_command_cb', '') w.hook_command('me', '', 'stuff', 'stuff2', '', 'me_command_cb', '') |