https://github.com/pedrorijo91/slack-pr-bot
Slack bot that regularly reminds team members to review pending pull requests
https://github.com/pedrorijo91/slack-pr-bot
bot reminder scala slack slackbot
Last synced: 30 days ago
JSON representation
Slack bot that regularly reminds team members to review pending pull requests
- Host: GitHub
- URL: https://github.com/pedrorijo91/slack-pr-bot
- Owner: pedrorijo91
- License: mit
- Created: 2015-10-01T23:03:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-18T15:57:56.000Z (over 8 years ago)
- Last Synced: 2025-04-09T14:21:41.573Z (about 2 months ago)
- Topics: bot, reminder, scala, slack, slackbot
- Language: Scala
- Size: 9.77 KB
- Stars: 40
- Watchers: 4
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# slack-pr-bot
[](https://www.codacy.com)
[](https://travis-ci.org/pedrorijo91/slack-pr-bot)[Slack bot](https://api.slack.com/bot-users) that reminds team members to review existing pull requests in regular time intervals.
Built with [gilbertw1/slack-scala-client](https://github.com/gilbertw1/slack-scala-client) library.
## How to run
Simply click on the "Deploy to Heroku" button under this section, or use the command `sbt run`.[](https://heroku.com/deploy)
### Requirements
In the `src/main/resources/application.conf` file you need to insert the `Slack API Token` in the `slack.token` field, and the `room id` in the `slack.room` field.The documentation is available [online](https://api.slack.com/bot-users)
> Note: You need to manually create the bot user [here](https://my.slack.com/services/new/bot) and enable it.
Also, you need to invite the bot to the channel/group since it can't join channels/groups by itself### Configuration
The bot allows to easily configure some parameters:
* **Time interval** between each reminder, through the `slack.interval`parameter
* **Message** posted by the bot, through the `slack.message`parameter
* **Mentioning** all channel/group users or not, through the `slack.mention`parameter# Other usages
This bot can easily be generalized for any other regular task replacing the body of the `postMessage` method