This allows people to swap out an existing player from the game, and join instead. Useful if, say, your home connection dropped, but your ZNC is still online and you want to keep playing through your phone for example. The player swapping and the one being swapped must be identified to the same account for this to work. After the command has been used, an implicit !myrole is performed, informing the player of their role and templates. The on_nick handler has been decoupled into two functions, where most of the logic is now in rename_player (which swap uses). Known issues: Hard drive space is left untouched.
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