Skip to content

bolutife-lawrence/slackwolf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 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, 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.

About

A slack bot that moderates Werewolf games

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%