- Fix bug when using bite and not specifying a victim where victim was None and thus trying to get their role resulted in a KeyError - Forward params from bite onwards to kill so you no longer need to do both (although you can still bite one person and kill someone else if you REALLY wanted to for some reason... it still won't work though) - If the bite failed for any reason (including if they targeted lycan who just instantly turns), refund the bite so the alpha wolf can try again after a wolf dies again during the day. |
||
---|---|---|
modules | ||
oyoyo | ||
settings | ||
tools | ||
.gitignore | ||
.mailmap | ||
botconfig.py.example | ||
CONTRIBUTING.markdown | ||
LICENSE | ||
README.markdown | ||
wolfbot.py |
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
.