Skip to content

leoskyrocker/slackwolf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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, Lycan, Tanner, Beholder, Villager, and Werewolf. You'll need at least a 6 player game in order to see roles other than Seer/Villager/Werewolf given out.

How to play

/invite the bot and type !help

Installation

Slackwolf requires PHP 5.5+ and Composer.

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.

About

A slack bot that moderates Werewolf games

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%