aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorRyan Huber <rhuber@gmail.com>2015-02-12 08:41:25 -0800
committerRyan Huber <rhuber@gmail.com>2015-02-12 08:41:25 -0800
commitf04f94c81c2664b61ae755e6567ac60c82393910 (patch)
tree14f3e31f6344e93f8388adef7139ae09b1d99ca6 /wee_slack.py
parent0bdb09e299a082c316457b5216969a2723f021aa (diff)
downloadwee-slack-f04f94c81c2664b61ae755e6567ac60c82393910.tar.gz
fix command tab completion
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py4
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', '')