Commit Graph

2266 Commits

Author SHA1 Message Date
skizzerz
0287b05bcd Split shaman
This has a number of related changes in other files due to needing to
re-prioritize events and fixing other bits of code to play more nicely
with split-off totems. Alpha wolf handling was moved after protection
handling because it should've been that way to begin with, and as part
of splitting off protection totem it needed to be split at the same
time. Same with fallen angel changes with how protection now adjusts the
killers lists.
2016-09-02 13:56:26 -05:00
nyuszika7h
8bd98b9e5c Make guest nick pattern configurable
Closes #247.
2016-08-29 00:55:51 +02:00
nyuszika7h
1082736d2e Check for actual guest nicks rather than anything starting with "Guest" 2016-08-27 17:11:17 +02:00
skizzerz
2dd19f3277 Fix death totems not triggering VG correctly 2016-08-26 13:19:19 -05:00
skizzerz
e816f4b436 Fix issue where sometimes the bot didn't recognize someone returning to the village 2016-08-25 21:47:54 -05:00
jacob1
2f0d299903 Fix !fwarn del log message, modify colors 2016-08-25 21:59:43 -04:00
skizzerz
b950060285 Fxi tpyo 2016-08-25 13:17:31 -05:00
nyuszika7h
cc05019fc3 Instruct users to do "pip install --user" instead
Without that flag, it will try to install globally and fail unless the
user is administrator/root.

(And let's hope nobody runs lykos as root - though some may be smart
enough to realize sudo is needed).
2016-08-24 23:09:17 +02:00
nyuszika7h
67e6d086a2 Add support for CTCP TIME 2016-08-24 23:09:07 +02:00
Vgr E. Barry
7cbc86cc98 Add hard dependency for typing and type hints
No actual type hints have been added yet. This will give a slight chance
for bot owners who currently don't have it installed to install it
before we start adding type hints.
2016-08-24 16:58:24 -04:00
Vgr E. Barry
7fd6654480 Tweak startup dependency error message formatting 2016-08-24 16:49:53 -04:00
nyuszika7h
f19f2af5f6 Update CONTRIBUTING.md 2016-08-23 23:52:38 +02:00
skizzerz
55fa1cbb88 Fix error when wolves attack monster 2016-08-23 12:05:50 -05:00
skizzerz
cd0423deb0 Fix wild child 2016-08-21 21:11:12 -05:00
skizzerz
411d8a6509 Revert "Disable wild child in random"
This reverts commit b089a6eee8.
2016-08-21 14:10:43 -05:00
jacob1
b089a6eee8 Disable wild child in random
role is buggy, needs further testing
2016-08-21 15:09:14 -04:00
jacob1
5e2e905c35 fix clone_notify message 2016-08-20 22:37:18 -04:00
skizzerz
1fdd9250d6 Fix tempban sanction not working 2016-08-19 23:46:13 -05:00
skizzerz
ac78e46e91 Fix VG win attribution 2016-08-19 23:46:04 -05:00
jacob1
f222c9ab16 fix dullahan spine whip 2016-08-18 23:06:12 -04:00
jacob1
ead74e0fe5 log !fwarn add/set/del to LOG_CHANNEL, if set 2016-08-17 23:55:22 -04:00
skizzerz
3479b72ce7 Let mystic know of all unsplit special roles too 2016-08-17 17:22:00 -05:00
skizzerz
d5d30eb6ae Squash error on fdie/frestart
oyoyo already closes the socket as part of a finally block, we don't
need to also do that.
2016-08-17 17:14:53 -05:00
skizzerz
af2fef5ea9 Fix exchange totem not firing 2016-08-17 17:06:27 -05:00
skizzerz
ebb3bdccfb Split mystic/wolf mystic 2016-08-17 16:52:37 -05:00
skizzerz
32dc611acf Split detective 2016-08-17 16:07:01 -05:00
skizzerz
457feb92de Split off doomsayer's sickness too 2016-08-17 12:46:16 -05:00
skizzerz
f66a1502dc Split doomsayer 2016-08-17 11:46:40 -05:00
Vgr E. Barry
3b2534d4a5 Fix duplicate period in alpha wolf message 2016-08-16 13:03:21 -04:00
skizzerz
3eccf32765 Use a non-discriminatory variable name #WolfSphereLivesMatter 2016-08-16 10:34:16 -05:00
Vgr E. Barry
9333588126 Modify the decorators so that nicks may be used for commands
Also add framework so that custom roles can modify what roles are part
of a pack of tetrahedron wolves more easily, but no other part has been
done to help that.
2016-08-15 23:38:33 -04:00
skizzerz
2e11f67e7e Fix error when 2 people kill each other the same night 2016-08-15 21:22:08 -05:00
skizzerz
781c1bfb99 Rebuild indexes after schema updates
Also bump schema version to 4 to force a reindex
2016-08-15 21:10:03 -05:00
skizzerz
32f2a2eb2c Fix !stats for non-players 2016-08-15 19:41:45 -05:00
skizzerz
28ba8e2175 Fix missing import in warnings 2016-08-15 19:08:51 -05:00
skizzerz
b5571c82e0 split VG 2016-08-15 18:59:24 -05:00
Vgr E. Barry
fe4ccc3ca7 Add __all__ to src/utilities.py 2016-08-13 13:03:03 -04:00
Vgr E. Barry
6460eb6804 Define methods in IRCClient instead of using a decorator
Mypy doesn't like it.
2016-08-13 12:33:20 -04:00
Vgr E. Barry
273db4b553 Move local import globally
This used to be needed since there used to be a circular import. Guess
it's gone now!
2016-08-13 12:09:19 -04:00
Vgr E. Barry
4631d3dd1d Set the ground up for static type checking
Not yet enforced, but soon, bot owners will be forced to install the
typing module.
2016-08-13 11:43:05 -04:00
Vgr E. Barry
ecec9bf4a8 Nice things are not allowed
Also imports should go below the module docstring.
2016-08-13 11:39:41 -04:00
Vgr E. Barry
cdaae22b2f Tell mypy to not care about user-defined modules 2016-08-12 13:11:10 -04:00
skizzerz
f96d73a8af Make commands that only work while playing fail silently if the person isn't playing 2016-08-11 22:36:37 -05:00
nyuszika7h
3f5e3fce78 Add syntax highlighting to the pastebin error URLs 2016-08-11 20:31:19 +02:00
skizzerz
052a2b2823 fix crow 2016-08-10 23:17:27 -05:00
skizzerz
23f27b088a Split dullahan
Also fix the del_player event to be more sane, and fix some suicide bugs
in hunter/vigilante kills.
2016-08-10 18:06:37 -05:00
Vgr E.Barry
10dff4a73d Tweak some seer's event listener 2016-08-10 18:08:41 -04:00
nyuszika7h
3f3b5bf1d7 Use ptpb.pw as pastebin with vanity IDs 2016-08-10 23:43:14 +02:00
skizzerz
35ad6c2766 Fix error in !stats introduced by RESTRICT_WOLFCHAT modifications 2016-08-10 15:29:22 -05:00
skizzerz
67f698a701 Add vigilante 2016-08-10 13:16:17 -05:00