/fam-slackwolf

Slackwolf, forked off https://github.com/chrisgillis/slackwolf, meant to run on heroku

Primary LanguagePHP

Slackwolf

Slackwolf is a bot for Slack. After inviting the bot to a channel, you can play the timeless game of Werewolf (also called Mafia).

ProjectImage

Roles

Slackwolf currently supports Seer, Bodyguard, Villager, and Werewolf. The roles needed to play a fun game.

How to play

/invite the bot and type !help

Installation

Slackwolf requires PHP 5.5+ and Composer. It may not work with PHP7 due to one of its dependencies.

git clone http://github.com/chrisgillis/slackwolf
cd slackwolf
composer install

Edit the .env file with a valid real-time messaging bot token from Slack. Get a valid token from the "Custom Integrations" tab of your Slack "Configure Apps" page. Also be sure to put the correct bot name in the .env file as well.

To start the bot type php bot.php

Contributing

Send in pull requests. I wrote this very quickly and it could use some major refactoring of its components. It also needs a lot more roles.

License

MIT License.