- Merge channel and PM commands in a single decorator. - Add many parameters for the decorators, reducing commands cluster. - Added back the admin_only check for some commands; special-cased '<console>'. - Moved the checking for which roles are seen wolf in the settings; same for seen as default. - Added a variable to pick if one is seen as the default role or as a villager where applicable (default: True). - Fixed seer/oracle seeing through amnesiac. - Some fixes to the totem chances that I forgot to add in the previous commit. - Removed some useless module imports. - Moved some functions to settings. - Changed all single-quotes to double-quotes in commands for consistency. - Renamed 'cmd' variable in both force and rforce commands to avoid confusion. - Probably a bunch of other things. Don't consider this commit description to be 100% complete.
This is the game bot for ##werewolf on freenode. It's a continutation of lycanthrope, which has become inactive. We have an active community, and we'd love for you to join us!
Running the bot
If you wish to run your own copy of the bot, all you need is Python 3.2 or a newer version.
Copy botconfig.py.example
to botconfig.py
and modify the settings as needed.
If desired, edit settings/wolfgame.py
to modify game settings.
To start the bot, run ./wolfbot.py
. You can optionally use --debug
or
--verbose
.
Description