This adds sort of a rate-limiting and pinging method preferences. If the amount of players the person wants is reached or exceeded, they will be automatically added to the !ping list; this is the default behaviour. Doing !pingpref will make the bot automatically ping them shortly after - this is done by a separate thread which is started on the first join and exits when game starts or last player quits. Doing so will not remove them from the ping list.
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