Hubot script to manage slack command forwarding to hubot
See src/hubot-slack-command-forwarder.coffee
for full documentation.
In hubot project repo, run:
npm install hubot-hubot-slack-command-forwarder --save
Then add hubot-hubot-slack-command-forwarder to your external-scripts.json
:
[
"hubot-hubot-slack-command-forwarder"
]
user1>> /hubot
hubot>> Forwarding `/hubot` for @user1
! Alias for `hubot`.
user1>> /hubot test2
hubot>> Forwarding `/hubot test2` for @user1
! Alias for `hubot test2`.
user1>> /hubot test3 arg1 arg2
hubot>> Forwarding `/hubot test3 arg1 arg2` for @user1
! Alias for `hubot test3 arg1 arg2`.
user1>> /subCommand
hubot>> Forwarding `/subCommand` for @user1
! Alias for `hubot subCommand`.
user1>> /subCommand arg1 arg2
hubot>> Forwarding `/subCommand arg1 arg2` for @user1
! Alias for `hubot subCommand arg1 arg2`.
https://www.npmjs.com/package/hubot-hubot-slack-command-forwarder