An artifact of how we run commands means that we try to run the rest of the "give" command handlers even after the first (shaman) one ended night. As such, check the phase and if it's different, stop trying to execute command handlers. This has a small race condition where the error this fixes can happen anyway, but since it's purely a visual error I think that's fine. Better than happening all of the time, at least.
This is the Werewolf game bot for ##werewolf on freenode. It's a fork of lycanthrope, which was the last bot used in #wolfgame before it died.
We have an active community, and we'd love for you to join us!
Running your own copy
You need Python 3.2 or newer to run the bot.
Copy botconfig.py.example
to botconfig.py
and modify the settings as needed. You can also copy-paste individual settings from src/settings.py
into botconfig.py
if you want to modify them.
To start the bot, run ./wolfbot.py
. You can use --verbose
to log all raw IRC messages and --debug
to enable some debugging features. These options should not be used in production.
Description