Go to file
nyuszika7h 4ab6acee09 Always use pipe separator for notes in warning log
Warning reasons might contain parentheses so it may be ambiguous, and
deletions are already logged with the pipe character, which is also used
when setting the warning, anyway.
2016-09-15 15:20:41 +02:00
messages Clarify that piper can also charm just one player 2016-09-13 17:17:26 +02:00
oyoyo Define methods in IRCClient instead of using a decorator 2016-08-13 12:33:20 -04:00
roles Initial work splitting off roles 2016-08-08 19:21:05 -05:00
src Always use pipe separator for notes in warning log 2016-09-15 15:20:41 +02:00
.gitignore Begin work splitting roles into their own files 2016-08-08 18:42:40 -05:00
.mailmap .mailmap: add @Vgr255, @ilbelkyr 2015-10-02 10:45:23 +00:00
botconfig.py.example log !fwarn add/set/del to LOG_CHANNEL, if set 2016-08-17 23:55:22 -04:00
CONTRIBUTING.md Update CONTRIBUTING.md 2016-08-23 23:52:38 +02:00
gamemodes.py.example Update gamemodes.py.example 2016-04-05 13:46:26 -07: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 2016-06-30 20:31:53 -04:00
requirements.txt Set the ground up for static type checking 2016-08-13 11:43:05 -04:00
wolfbot.py Instruct users to do "pip install --user" instead 2016-08-24 23:09:17 +02: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.3 or newer to run the bot. Python 3.4 and higher is recommended.

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. You may also add or customize your own game modes by renaming gamemodes.py.example to gamemodes.py and using the same layout used in src/gamemodes.py.

Note: you should never alter files under the src folder directly (unless you are submitting a change to the code), use botconfig.py and gamemodes.py for related changes.

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.