Developer relations bot
DevRel Slack Bot is a Bot for Slack teams that they can configure and quickly have a look at open pull requests in their configured repositories/unanswered stack overflow questions and Tweets for a username.
-
Fork this project.
-
Open up your favorite terminal app, and clone your new repository to your local computer.
-
This is a Node.js project, so you’ll need to install the various dependencies by running:
npm install
to get all the node_modules -
Update Organization/Repositories/StackOverflow Details in
config.json
. -
Add a bot Integration to your slack channel at https://{{$slack_channel}}.slack.com/apps/new/A0F7YS25R-bots
-
From the terminal you can run your bot easily:
TOKEN=xoxb-your-token-here npm start
(Copy token from Integration Settings >> API Token) 7. Once started Go to slack and find a new bot user "devrel" added 8. Start talking to Bot via commands like :
- pr all -- Display all open Pull requests in all The Github Repos configured in config.json
- pr
{$repo1_key}
-- Display all open Pull requests in the Github Repos{$repo1_name}
configured for{$repo1_key}
configured inconfig.json
sof issues
orstackoverflow issues
sof tag=java
tweet
tweet paypaluk 10
github issues
dilbert
orcomics
For Support / Requesting new features Create an Issue