nyuszika7h
281ac8e21e
Don't require !f prefix for admin commands where unambiguous
...
I didn't change !fflags to !flags as it may be a good idea to add
a !flags command to allow users to view their own flags.
2016-10-25 21:07:47 +02:00
nyuszika7h
6ac05fb3e6
Make !update not pull if a game is running
...
The reason we defer pulling is because if an error happens before
restarting, the line numbers in the traceback may not reflect the
actual line numbers since the code has changed.
2016-10-25 17:49:10 +02:00
nyuszika7h
946e84cbd3
Add !update command
2016-10-25 17:00:50 +02:00
nyuszika7h
797d95fac8
Fixes to !fpull and !frestart
2016-10-25 16:38:46 +02:00
skizzerz
c2fd50a33e
Fix piper !pass breaking the bot
...
Piper shouldn't be able to !pass anyway, so let's just remove that
entirely.
2016-10-20 16:47:26 -05:00
nyuszika7h
684abf58b4
Minor code style fixes to previous commit
...
Making this a separate commit to avoid invalidating the PGP signature,
though it doesn't really matter for lykos anyway.
2016-10-19 21:48:41 +02:00
Lukas Martini
a6c6236e4f
Stop start vote timer if player leaving is the only one who voted
2016-10-19 21:44:19 +02:00
skizzerz
55c70570af
Switch param order of role_attribution event
...
Standardizing on first two params for event handlers to be cli, var
2016-10-18 21:56:56 -05:00
Ryan Schmidt
4e8f083dc2
Make !refreshdb expire stasis and tempbans
...
It was slightly annoying that there was no way to do this via a command. Should also have these expire if someone !quits to end a game, someone should work on that :)
2016-10-13 15:04:30 -07:00
Vgr E. Barry
6b9453afa1
Use more specific OS exceptions
...
Python 3.3 added some more specific exceptions for OS-related
operations, specifically to help mitigate this kind of hard-to-read
boilerplate. See
https://docs.python.org/3/whatsnew/3.3.html#pep-3151-reworking-the-os-and-io-exception-hierarchy
for reference.
2016-10-08 08:47:23 -04:00
nyuszika7h
36b5543d24
Remove !wiki title check as it is too restrictive
...
It didn't allow user pages or pages with disambiguation suffixes.
I think it's fine for it to just return "not found" for invalid titles.
2016-09-26 16:32:18 +02:00
Vgr E. Barry
925819e517
Remove stray cat from busy street
2016-09-26 07:11:12 -04:00
jacob1
5ef750aa2e
Update !wiki to use the new wiki
2016-09-25 23:39:38 -04:00
nyuszika7h
12edbdfb43
Make "!gstats <num>" also show total of all gamemodes
...
Also capitalized the role names and "Total wins" for consistency with
!pstats and upgraded the schema to create a new index for game lookups
without specifying the game mode.
2016-09-24 23:22:33 +02:00
jacob1
3ce7e1d72f
fix error in !gamestats #
2016-09-24 15:31:46 -04:00
nyuszika7h
e0bf47c182
Make !gstats show totals for all game modes by default
2016-09-24 12:27:45 +02:00
skizzerz
bfc675e953
Split fallen angel
...
Also fixes some bugs with using stop_propagation instead of
stop_processing in events (the former does absolutely nothing).
Added a skeleton file to assist with adding new roles, contains the
needed imports on top and vim modeline on the bottom.
Yes, these are all related and need to go in the same commit, stop
throwing things at me.
2016-09-23 20:10:04 -05:00
skizzerz
01dfdc7ac4
Split blessed and cursed villager
2016-09-13 16:35:54 -05:00
skizzerz
f5d510374a
Fix !warn ack duplicating stasis, remove !fquit warning
2016-09-13 10:55:52 -05:00
nyuszika7h
9ea822d7d8
Lowercase account in !fflags with single argument
2016-09-13 12:42:34 +02:00
jacob1
cae1df1423
Fix !swap and !fsync voicing players during night if DEVOICE_DURING_NIGHT is set
2016-09-10 23:28:20 -04:00
skizzerz
446d77b452
Split GA and bodyguard
2016-09-10 11:22:10 -05:00
nyuszika7h
ecbf32c9ad
Add an explanatory message for pings after bot restart
...
Just like when a game is canceled due to taking too long to start,
although in this case players may notice that the bot restarted, it
doesn't hurt to make it clear to them.
2016-09-09 21:41:45 +02:00
skizzerz
0adee06b40
Fix voting mayor
2016-09-08 19:07:22 -05:00
nyuszika7h
20d5ede0f2
Fix !ftemplate
2016-09-08 22:07:00 +02:00
nyuszika7h
8dddd4c3b0
Move other nicks to be kicked to guest nick pattern
2016-09-08 22:02:45 +02:00
jacob1
f51833d4c4
fix error when day times out with a tie vote
2016-09-03 14:28:39 -04:00
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
nyuszika7h
67e6d086a2
Add support for CTCP TIME
2016-08-24 23:09:07 +02: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
skizzerz
2e11f67e7e
Fix error when 2 people kill each other the same night
2016-08-15 21:22:08 -05:00
skizzerz
32f2a2eb2c
Fix !stats for non-players
2016-08-15 19:41:45 -05:00
skizzerz
b5571c82e0
split VG
2016-08-15 18:59:24 -05: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
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
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
skizzerz
4011707c10
Finish up RESTRICT_WOLFCHAT settings
...
All settings are now fully armed and operational.
2016-08-10 12:46:46 -05:00
skizzerz
b25f6186ec
Fix hunter autocomplete
...
Also make debugging easier by exposing src
2016-08-10 10:58:08 -05:00
skizzerz
09d90fd7e2
Revert "Revert last 3 commits - broken code"
...
This reverts commit 5e9155642671a43c43b03e819a52bd6b86b50549.
2016-08-10 10:40:47 -05:00
nyuszika7h
5e91556426
Revert last 3 commits - broken code
2016-08-10 16:29:46 +02:00