diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2018-11-06 20:15:10 +0100 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2019-01-26 12:51:07 +0100 |
commit | 64e370c513c3c0ca72e830f1f8d3fc7914dcb8ec (patch) | |
tree | e210ac5e5008397ceda989a028653b94dd9da99e | |
parent | c311c37fa99fe31cead934a26646f3235b2c96a8 (diff) | |
download | wee-slack-64e370c513c3c0ca72e830f1f8d3fc7914dcb8ec.tar.gz |
Remove /leave command
/leave is by default aliased to /part. We don't have to specify this in
wee-slack.
-rw-r--r-- | wee_slack.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/wee_slack.py b/wee_slack.py index 4bdb229..b892fd8 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -3901,13 +3901,11 @@ def setup_hooks(): '|'.join(EVENTROUTER.cmds.keys()), # Function name 'slack_command_cb', '') - # w.hook_command('me', '', 'stuff', 'stuff2', '', 'me_command_cb', '') w.hook_command_run('/me', 'me_command_cb', '') w.hook_command_run('/query', 'command_talk', '') w.hook_command_run('/join', 'command_talk', '') w.hook_command_run('/part', 'part_command_cb', '') - w.hook_command_run('/leave', 'part_command_cb', '') w.hook_command_run('/topic', 'topic_command_cb', '') w.hook_command_run('/thread', 'thread_command_callback', '') w.hook_command_run('/reply', 'reply_command_callback', '') |