Skip to content
This repository has been archived by the owner on Jun 6, 2021. It is now read-only.
/ shamebot Public archive

Embarrasses -in a friendly way- slack teammates who commit programming mistakes :)

License

Notifications You must be signed in to change notification settings

sasalatart/shamebot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ShameBot

License: MIT Code Climate Docker Automated build

About

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.

Demo

demo-commands

Setup

API Keys

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.

Development

  1. Make sure to have a Slack Team, with ShameBot as a member.
  2. Clone and cd into this repository
  3. run npm install (or yarn install)
  4. Export the environment variables SLACK_TOKEN and GIPHY_API_KEY.
  5. run nodemon .

Docker

docker run -d --name=shamebot \
  --env SLACK_TOKEN=<your-slack-token> \
  --env GIPHY_API_KEY=<your-giphy-api-key> \
  sasalatart/shamebot

Contributing

  1. Fork this repository
  2. Create your branch from the develop branch (git checkout -b my-changes)
  3. Commit your changes using these emojis (git commit -am '<emoji> my changes message')
  4. Push your branch (git push origin my-changes)
  5. Create a new Pull Request

giphy-attribution

About

Embarrasses -in a friendly way- slack teammates who commit programming mistakes :)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published