7
hubot status
などのエイリアスを実行したい場合は、hubot newrelic me
とhubot gauges for today
を呼び出す必要があります。別のコマンドを呼び出す
私は `msg.send" hubot newrelic me "のようなことをやろうとしましたが、メッセージを無視するだけのようです。
どうすればいいですか?
hubot status
などのエイリアスを実行したい場合は、hubot newrelic me
とhubot gauges for today
を呼び出す必要があります。別のコマンドを呼び出す
私は `msg.send" hubot newrelic me "のようなことをやろうとしましたが、メッセージを無視するだけのようです。
どうすればいいですか?
イベントを使用して、スクリプトが互いに話すようにすることができます。
robot.emit 'event', param
robot.on 'event', (param) ->
console.log 'received param', param
は、ここでそれについての詳細情報です:https://leanpub.com/automation-and-monitoring-with-hubot/read#leanpub-auto-cross-script-communication-with-events
スウィートは、どうもありがとうございました! – caarlos0