Share Stack Overflow answers with your Slack team using Hubot
npm install hubot-slack-overflow --save
Then add hubot-slack-overflow to your external-scripts.json
:
[
"hubot-slack-overflow"
]
Set the STACK_OVERFLOW_KEY environment variable to your StackExchange API Key, e.g.:
export STACK_OVERFLOW_KEY=supersecret
bin/hubot --adapter slack
- overflow
query
- searches Stack Overflow forquery