Go to file
Ryan Schmidt 48547972e9 Make is_user_stasised return a truthy value if the user is not found
This ensures that code paths that should not be run if the user is stasised are not run if we don't know the user's status. Generally we don't know the user's status because they are not in the main channel, and therefore allowing them to effectively bypass stasis by not being around is a bad thing. We return -1 to differentiate between actual stasis, and because -1 is still True when cast to boolean. This may have the effect of giving some very odd-looking error messages but that's a very minor issue.
2015-12-31 15:06:19 -07:00
messages Minor fix to message 2015-12-23 18:15:50 -05:00
oyoyo Revert "Support IPv6 connections" 2015-12-04 17:48:26 -07:00
src Make is_user_stasised return a truthy value if the user is not found 2015-12-31 15:06:19 -07:00
.gitignore move irc messages to json and allow overriding in custom file 2015-11-10 19:58:50 -06:00
.mailmap .mailmap: add @Vgr255, @ilbelkyr 2015-10-02 10:45:23 +00:00
botconfig.py.example Add botconfig.OWNERS_ONLY_COMMANDS to further restrict commands 2015-11-16 12:11:52 -07:00
CONTRIBUTING.md Rename .markdown files back to .md 2015-05-24 00:30:54 +02:00
gamemodes.py.example move irc messages to json and allow overriding in custom file 2015-11-10 19:58:50 -06:00
LICENSE Convert Windows line endings to Unix 2013-09-04 11:56:00 +02:00
messages.json.example move irc messages to json and allow overriding in custom file 2015-11-10 19:58:50 -06:00
README.md Update README.md 2015-05-24 00:32:02 +02:00
wolfbot.py Log connection, end of MOTD and joining channels in normal mode 2015-11-27 17:37:04 +01:00

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.