diff options
author | Ryan Huber <rhuber@gmail.com> | 2015-02-21 12:25:11 -0800 |
---|---|---|
committer | Ryan Huber <rhuber@gmail.com> | 2015-02-21 12:25:11 -0800 |
commit | 5fa2aa11fea0436807f912d9b032c490283c6db2 (patch) | |
tree | 7c2f34a522088dbe79472133d346e03c07c5bb09 | |
parent | 30edb35af126cff8ef86e4fd43fbc6d48ffe6f6e (diff) | |
download | wee-slack-5fa2aa11fea0436807f912d9b032c490283c6db2.tar.gz |
make /query an alias for /join. they are identical to slack.
-rw-r--r-- | wee_slack.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wee_slack.py b/wee_slack.py index bc19bee..71d3a65 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -1596,6 +1596,7 @@ if __name__ == "__main__": 'slack_command_cb', '') w.hook_command('me', '', 'stuff', 'stuff2', '', 'me_command_cb', '') # w.hook_command('me', 'me_command_cb', '') + w.hook_command_run('/query', 'join_command_cb', '') w.hook_command_run('/join', 'join_command_cb', '') w.hook_command_run('/part', 'part_command_cb', '') w.hook_command_run('/leave', 'part_command_cb', '') |