Bot built with Botkit that embarrasses -in a friendly way- slack teammates who commit programming mistakes according to failed builds emitted by the CI bot.
You will need a SLACK_TOKEN
which identifies your bot with your slack team, and a GIPHY_API_KEY
, which will enable ShameBot to send GIFs:
- You can get your
SLACK_TOKEN
by creating a user bot for your team here. - You can get your
GIPHY_API_KEY
here.
- Make sure to have a Slack Team, with ShameBot as a member.
- Clone and cd into this repository
- run
npm install
(oryarn install
) - Export the environment variables
SLACK_TOKEN
andGIPHY_API_KEY
. - run
nodemon .
docker run -d --name=shamebot \
--env SLACK_TOKEN=<your-slack-token> \
--env GIPHY_API_KEY=<your-giphy-api-key> \
sasalatart/shamebot
- Fork this repository
- Create your branch from the
develop
branch (git checkout -b my-changes
) - Commit your changes using these emojis (
git commit -am '<emoji> my changes message'
) - Push your branch (
git push origin my-changes
) - Create a new Pull Request