Skip to content

Slack bot for playing paper scissors rock between users on Slack

License

Notifications You must be signed in to change notification settings

jniechcial/paper-scissors-rock-slackbot

Repository files navigation

Paper Scissors Rock Slackbot

This simple Slack bot allows Slack users to play paper-scissors-rock game between them. Ever had a situation where no compromis is available? Who is calling for pizza? Who is setting up PlayStation? Who is writing explenation email to the customer? No problem - play paper-scissors-rock and settle the fight once for all!

Usage

Usage is simple and self-describing while talking with the bot - he will help you go through the game. To initiate the new game (assuming your botname is judge):

Init the game

Then response on DM directly to bot:

Give your response

Bot will notify other players that you responded on origin channel:

Monitor status

After everyone responds, bot will give you the results!

Finished game

Features

  • If you make a typo in game reference, he will give you your last game ID Typo in game reference

  • You can respond only once! Only single response

  • After finished game, draw or not, you can simply say again to challange same competitors! Say Again

  • Type @botname stats to see three players with the biggest won count. Say stats

Deployment

  1. Fork the repository.
  2. Run cp .env.sample.ini .env.ini.
  3. Fill in env variables with your data (slack token, slack bot name, mongo URI).
  4. Deploy to Heroku.

License

This bot is under MIT License.

About

Slack bot for playing paper scissors rock between users on Slack

Resources

License

Stars

Watchers

Forks

Packages

No packages published