aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorRyan Huber <rhuber@gmail.com>2015-02-21 12:25:11 -0800
committerRyan Huber <rhuber@gmail.com>2015-02-21 12:25:11 -0800
commit5fa2aa11fea0436807f912d9b032c490283c6db2 (patch)
tree7c2f34a522088dbe79472133d346e03c07c5bb09 /wee_slack.py
parent30edb35af126cff8ef86e4fd43fbc6d48ffe6f6e (diff)
downloadwee-slack-5fa2aa11fea0436807f912d9b032c490283c6db2.tar.gz
make /query an alias for /join. they are identical to slack.
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py1
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', '')