Skip to content

A slack bot that moderates Werewolf games

Notifications You must be signed in to change notification settings

ThatOneGuyDotNet/slackwolf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 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. 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.

About

A slack bot that moderates Werewolf games

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%