Commit Graph

905 Commits

Author SHA1 Message Date
Janik Kleinhoff
92a8c5bd60 Make fjoin message for fake nicks consistent with others 2014-09-25 23:30:58 +02:00
jacob1
dc156da64c don't display the join message / pm fake nicks when in debug mode 2014-09-25 16:37:05 -04:00
jacob1
82b53f92d9 village can't abstain on day one 2014-09-25 16:00:06 -04:00
nyuszika7h
6dc4f4859f Fix the bot telling you you haven't voted after retracting abstain
Reported by @Vgr255 on IRC.
2014-09-20 11:53:11 +02:00
Janik Kleinhoff
b2e0a6b1a3 Add quieting code again, but disabled by default
This reverts commit 5e4bb1ed5d and puts
the relevant quiet-related code in a conditional instead, depending on a
newly-added var.QUIET_DEAD_PLAYERS setting.
2014-09-18 16:12:17 +02:00
nyuszika7h
5e4bb1ed5d Remove quieting
Per discussion in ##werewolf-ops, nick changes are easier to notice than
PM logs which could be faked, and we can ban repeat offenders if needed
anyway.
2014-09-18 15:48:43 +02:00
nyuszika7h
f7d031c776 Update CONTRIBUTING.md 2014-09-18 13:46:18 +02:00
Janik Kleinhoff
0669799f1e is_fake_nick: only all-numeric nicks are fake
The previous check had quite a few issues, e.g. on UID nicks.
2014-09-17 22:00:24 +02:00
Janik Kleinhoff
62b9b1627d Fix crash with idle warnings and nick changes
Sorry for breaking it. :s
2014-09-17 21:57:39 +02:00
Janik Kleinhoff
bae19598cb !myrole: remind shamans of their totem
This is especially useful if the shaman did not see the original message
informing them of their role (e.g. due to connection issues).
2014-09-17 20:48:04 +02:00
Janik Kleinhoff
4de6899209 !myrole: remind lovers of their love 2014-09-17 20:31:23 +02:00
skizzerz
3620b05a96 Make mad scientist skip over dead players once the game size gets to 16p, number chosen arbitrarily. 2014-09-15 22:08:32 -05:00
Ryan Schmidt
e9918a9b44 Merge pull request #71 from xnrand/master
bold in wolf gun death messages
2014-09-14 18:21:17 -05:00
xnrand
60c0a136f5 bold in wolf gun death messages 2014-09-15 01:03:55 +02:00
Janik Kleinhoff
b8c2f6d841 Warn idlers a second time in PM 2014-09-12 14:59:03 +02:00
skizzerz
8d1a527724 Fix autolose not happening if someone quits 2014-09-09 20:47:11 -05:00
nyuszika7h
1013d8dc0a Merge pull request #69 from skizzerz/master
Add settings to disable abstain and also limit it
2014-09-09 07:21:25 +02:00
skizzerz
3a6280ad8c Add settings to disable abstain and also limit it
By default, abstain is enabled and limited to being used once per
game. Both of these can be changed in settings.py.
2014-09-08 22:38:57 -05:00
nyuszika7h
eeb812c40e !start: Fix pluralization 2014-09-07 11:53:47 +02:00
nyuszika7h
4b92a0200a .mailmap: Add @sharkk 2014-09-07 00:29:43 +02:00
nyuszika7h
21356c2fa5 Create .mailmap 2014-09-07 00:26:50 +02:00
nyuszika7h
a2201c5061 Fix mad scientist message 2014-09-06 22:37:04 +02:00
jacob1
e84e786d39 fix players not being removed from var.KILLS when they die, and revert f8574e1892 2014-09-05 19:44:46 -04:00
jacob1
250e7d7462 fix error when exchange totem happens and wolves are angry 2014-09-05 19:43:26 -04:00
jacob1
457372fa3e fix lykos devoicing people that weren't in the game sometimes 2014-09-05 19:42:35 -04:00
jacob1
b43140d362 fix error when using !retract after !abstain 2014-09-05 19:41:18 -04:00
Janik Kleinhoff
6af09159a2 Allow !fjoin to bypass stasis
Allow admins to fjoin people who are currently stasised without removing
their stasis entirely. Stasis is unaffected by this on its own, although
note that a game being played will still normally reduce the stasis
penalty for now, even if the stasised player actually played in the game
due to being fjoined.
2014-09-04 13:08:21 +02:00
Janik Kleinhoff
41b8740eb1 Make stasis persist through restarts by saving it in the DB
Fixes lykoss/lykos#28.
2014-09-04 01:45:54 +02:00
Janik Kleinhoff
9b9f35487b Put !fquit message on a single line 2014-09-04 01:08:09 +02:00
Janik Kleinhoff
59c9d5df14 Don't reveal traitor when they're !fquit
This is consistent with them otherwise leaving the game by abnormal
means (idling out, parting, quitting, getting kicked).
2014-09-04 01:08:09 +02:00
jacob1
1933247a56 fix people not getting devoiced when changing to guest/away nick 2014-09-03 12:33:28 -04:00
jacob1
9bed1186c0 changing to certain nicks in game counts as quitting (fixes some /ns regain / idler issues) 2014-09-03 11:55:21 -04:00
jacob1
8293dd3850 kill all the idlers at once so they all get stasis 2014-09-03 11:55:21 -04:00
nyuszika7h
f8574e1892 Fix error when wolves' target dies before sunrise 2014-09-03 16:52:08 +02:00
nyuszika7h
ebc806fd25 Make !retract use the same message for !nolynch
The reasoning behind this is that retracting your vote not to lynch does
not necessarily mean that you will indeed lynch someone.

Also, retracting a vote not to lynch will now reset the !votes rate
limit, just like retracting a normal vote.
2014-09-03 16:36:48 +02:00
nyuszika7h
a205e7b877 Fix "cursed wolf" after cursed traitor transforms 2014-08-31 00:18:27 +02:00
Janik Kleinhoff
2fdb1d7dd0 Always display new player count when people leave during join phase.
Previously, leaving by quitting, parting or getting kicked would not
display the new player count. Fixes lykoss/lykos#61.
2014-08-30 04:51:32 +02:00
jacob1
5690e91b41 fix bug where wolfchat would ignore !notice and use !simple instead 2014-08-29 20:05:31 -04:00
Janik Kleinhoff
ff8912e8a3 Revert "Avoid having the village 'mourn' a wolfteam or monster death."
As it turns out, this has further implications that ought to be resolved
before making this part of the bot.
2014-08-29 20:49:39 +02:00
Janik Kleinhoff
dff9ec1e52 Avoid having the village 'mourn' a wolfteam or monster death. 2014-08-29 06:58:10 +02:00
Janik Kleinhoff
818b58f569 *really* avoid people getting around !flastgame with !j 2014-08-29 05:49:32 +02:00
Janik Kleinhoff
eb1387b7c2 Add a !notice toggle separate from !simple.
!simple used to determine whether you were given simple instructions
*and* whether the bot NOTICEs you; now, it only controls the former and
!notice controls the latter.
2014-08-29 04:12:35 +02:00
Janik Kleinhoff
0bb5f3b75d Fix/improve various messages a little bit. 2014-08-29 02:10:21 +02:00
Janik Kleinhoff
9c87bce157 Make command help more consistent; make sure commands are documented. 2014-08-29 00:51:53 +02:00
jacob1
4ae7cafe94 Merge pull request #62 from brrr2/pstats-fix
Fix to allow player_stats to be case-insensitive for nicks.
2014-08-27 01:34:10 -04:00
Yizhe Shen
7376fe54ea Fix to allow player_stats to be case-insensitive for nicks. 2014-08-26 22:04:48 -04:00
nyuszika7h
b251a34e31 Make on_give_me_ops independent from endofwho 2014-08-27 00:23:52 +02:00
nyuszika7h
37c0c075fa Try to gain op when bot thinks it isn't opped 2014-08-26 23:58:29 +02:00
nyuszika7h
999a612da8 wolfbot.py: error on Python <3.2 2014-08-25 20:30:58 +02:00
jacob1
9d238293e9 use "python3" command instead of "python3.2" 2014-08-25 14:29:57 -04:00