Commit Graph

925 Commits

Author SHA1 Message Date
Janik Kleinhoff
e16ed28787 settings/wolfgame.py: raise WAIT_AFTER_JOIN to 25 2014-11-02 04:15:21 +01:00
Ryan Schmidt
8a64f73715 Fix error in list_players
If a list of roles is passed to list_players, the function breaks if there aren't any alive players with that role and emits a stacktrace. Unsure of what this actually affects, but I saw it in the console a bunch of times.
2014-10-31 22:57:43 -05:00
nyuszika7h
59c589f3e1 !fwait: Code cleanup 2014-10-26 10:10:02 +01:00
jacob1
0275c773e5 Merge pull request #75 from benny/patch-1
Fix small typo in GA message
2014-10-25 23:46:52 -04:00
Benjamin Donald-Wilson
897095c4ff Fix small typo in GA message 2014-10-26 14:41:49 +11:00
Janik Kleinhoff
78778b9b16 fix typo 2014-10-26 02:22:58 +01:00
Janik Kleinhoff
1ec60fe99b !fwait: improve message a little 2014-10-26 02:19:39 +01:00
Janik Kleinhoff
5965848bcf !fwait: Allow arbitrary wait durations
We indeed don't have all day, but people with access to fwait should
know as much already anyway. Additionally, this interfered with undoing
a long fwait; !fwait 9999 was possible, !fwait -9999 was not.
2014-10-26 02:10:52 +01:00
nyuszika7h
52b0ea061c .mailmap: Update my primary email address 2014-10-13 17:00:45 +02:00
nyuszika7h
aa441e5d8c Rename .md files to .markdown 2014-10-13 17:00:39 +02:00
Janik Kleinhoff
472d71811a myrole: Only tell shamans their totem at night 2014-09-28 08:10:51 +02:00
Janik Kleinhoff
f3d7e569ae frole: Adjust behaviour for templates; allow specifying totem
The syntax to give 'foo' the additional 'bar' template is now
!frole foo +bar
or, in the case of templates like gunner that can take an argument,
!frole foo +gunner = 9001
Removing a template uses - instead:
!frole foo -bar

The new "role = arg" syntax also applies for shamans and crazed shamans:
!frole foo shaman = impatience
A random totem is selected as usual, rather than the bot crashing, if no
argument is given.
2014-09-28 08:05:21 +02:00
Janik Kleinhoff
7fa8e459f7 Fix "at some poisonous berries" typo 2014-09-28 04:37:40 +02:00
Janik Kleinhoff
c1c742db23 Avoid printing role when it's "person", without a syntax error 2014-09-28 01:20:00 +02:00
nyuszika7h
ffa7f7c58c leave & fleave: Don't say role if it's "person"
And other minor improvements.
2014-09-28 00:55:36 +02:00
nyuszika7h
11b508d40b fstasis: Add missing return 2014-09-27 12:49:03 +02:00
nyuszika7h
2a306fcc7c fstasis: Improve messages 2014-09-27 12:46:07 +02:00
jacob1
f1f166f052 fix fstasis not handling hostmasks with capital letters properly 2014-09-27 00:53:56 -04:00
nyuszika7h
3937eae6c8 Merge pull request #73 from Romtam/master
Added missing dot in !abs limit on first day
2014-09-26 14:40:20 +02:00
Romtam
b7fac7be4c Added missing dot 2014-09-26 19:35:43 +07:00
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