Commit Graph

2175 Commits

Author SHA1 Message Date
Vgr E. Barry
0cd5c9dd7c Fix syntax error 2016-07-27 23:48:00 -04:00
skizzerz
218d01088d wat 2016-07-27 22:47:26 -05:00
skizzerz
e47a348f22 Remove old db calls 2016-07-27 22:45:43 -05:00
skizzerz
0c0268e1b7 Report overall winrate 2016-07-27 21:37:37 -05:00
skizzerz
1b7b2f6799 Make discrimination based on case ilegel
All hostmask and account comparisons are now case-insensitive (nicks
still aren't, related to #217 -- changing nick sensitivity would break
everything in numerous places).

Also, refactor some things into other files where it makes sense to do
so, because putting unrelated things into the same commit is fun.
2016-07-27 17:03:34 -05:00
Vgr E. Barry
1e21445e43 Fix typo 2016-07-27 15:55:12 -04:00
skizzerz
862111be9e I'm the best at space 2016-07-27 11:45:45 -05:00
skizzerz
b5ae34804d Make 0 point warnings no-op 2016-07-27 11:42:22 -05:00
Ryan Schmidt
22aa7af5c6 Merge pull request #235 - Schema upgrade by skizzerz
Fix FK deferrable status, ensure that FKs are always enforced in the
bot, and redo how fool wins are stored/tracked. Drop unneded table.
2016-07-27 12:38:23 -04:00
nyuszika7h
0caaba9152 Make !refreshdb reply with "Done." 2016-07-26 23:26:39 +02:00
nyuszika7h
73f99b4ae4 Use separate warning for /quit than for /part 2016-07-26 22:32:57 +02:00
jacob1
dc1b1e7f6a add back DISABLED_GAMEMODES
can be used by bot operators to disable & hide a gamemode entirely
2016-07-25 00:06:38 -04:00
skizzerz
265a1cc442 Revert "Clearly indicate not enough players for game mode"
This reverts commit aedf39efce.
See comment in github on that commit for reasoning.
2016-07-22 21:45:15 -05:00
jacob1
89b38794e1 fix !swap, blame nyuszika7h
don't remove all the returns in the sanity checks
2016-07-22 20:36:20 -04:00
jacob1
bc8e7e6da1 fix !revealroles working during games 2016-07-22 20:26:37 -04:00
nyuszika7h
aedf39efce Clearly indicate not enough players for game mode 2016-07-22 23:58:26 +02:00
nyuszika7h
db519a6827 Notice players instead of silence when already voted game mode
This accidentally ended up partially being in an earlier commit, but now
here it is...
2016-07-22 10:36:44 +02:00
skizzerz
b556e74fd8 Revert "Fix use of chan where not defined"
This reverts commit 4301ba4c48.
2016-07-21 22:03:00 -05:00
skizzerz
e14c3f1d9c Make alpha bite turn target immediately
RIP long bitten messages, you shall be missed :(
2016-07-21 18:20:29 -05:00
skizzerz
07e3018d06 Fix 4301ba4 properly 2016-07-21 17:05:38 -05:00
nyuszika7h
4301ba4c48 Fix use of chan where not defined 2016-07-21 23:56:44 +02:00
nyuszika7h
7c7facdd7d Fix commit e04410e
I don't know when I wrote that code...
2016-07-21 23:22:46 +02:00
nyuszika7h
4383a64c08 Removed now-redundant message 2016-07-21 23:18:13 +02:00
skizzerz
d45a54179b alpha wolf QoL adjustments
- alpha wolf can now both bite and kill during the same night
- any wolf death (instead of just one during day) is counted towards
  activating alpha wolf
- fix role message to be more in line with other wolfteam messages
2016-07-21 16:17:12 -05:00
nyuszika7h
bc9f27c6d5 Don't require -force for !fdie and !frestart in debug mode 2016-07-21 23:07:01 +02:00
nyuszika7h
e04410ecaa Ignore !notice in PM if called with arguments
This command is sometimes accidentally called in wolfchat by a message
starting with "notice". It doesn't take any arguments anyway.
2016-07-21 23:03:09 +02:00
nyuszika7h
b6d07a9707 Simplify code to use reply() where possible 2016-07-21 23:03:09 +02:00
skizzerz
81263bd822 Fix guardian winconds; now a game will always end with a team winning 2016-07-21 14:05:28 -05:00
nyuszika7h
d59f2ec4a8 Use reply() in !warn/!fwarn instead of hardcoding cli.notice() 2016-07-18 10:28:13 +02:00
Ryan Schmidt
dd05f5e6d8 make MS always skip over dead players in rapidfire 2016-07-16 23:29:32 -07:00
skizzerz
00bf10f6c0 Fix giving warnings to new players 2016-07-16 22:55:56 -05:00
skizzerz
d2dc4d2deb Remove care/kill color/bold/startspam settings 2016-07-16 22:48:18 -05:00
nyuszika7h
04577f15dd Add missing # sign before "!fwarn add" reply 2016-07-11 22:40:33 +02:00
skizzerz
9d827b95be I hate python 2016-07-11 15:34:05 -05:00
jacob1
af02e63305 *jacob1 force pushed 1 commit to master 2016-07-09 15:24:27 -04:00
jacob1
ca14cc3578 fix "you win a goat" ping message, this shouldn't be an action 2016-07-09 15:23:31 -04:00
nyuszika7h
e2469c342f Make !ping actually goat the user when they win a goat 2016-07-09 10:32:29 +02:00
Ryan Schmidt
8aede6d01d Let's go with NOT trying to be clever 2016-07-07 12:28:32 -07:00
Ryan Schmidt
f6f05db7cc Disable succubus in maelstrom 2016-07-06 14:14:49 -07:00
Emanuel Barry
8d1cfa1a77 Update README.md
Added the gamemodes.py specification, switched requirement from 3.2 to 3.3 and encouraged 3.4+.
2016-06-30 20:31:53 -04:00
skizzerz
7a0c9b87e1 Expiration date fixes for fwarn
- Always use UTC (time issued was already UTC, but expiration was not)
- Remove some duplicate code about parsing expiration date
- Round dates to the nearest minute
2016-06-28 12:53:10 -05:00
nyuszika7h
f8ed5c7dbd Fix pluralization of warning points 2016-06-28 10:30:20 +02:00
skizzerz
137408d1f4 Allow # in front of warning numbers for warn view/ack 2016-06-26 12:42:59 -05:00
skizzerz
454afca1b3 Various fixes
- fflags no longer says things were modified on account "*" when they
  weren't
- don't give an autowarning on kick anymore; if an op is kicking chances
  are they'll be giving their own warning anyway
- attempt to make a backup copy of the database before migrating to new
  schema
2016-06-26 12:37:22 -05:00
nyuszika7h
e83e6caac3 Remove bureaucrat
Closes #220.
2016-06-23 22:20:33 +02:00
skizzerz
9009304db0 fix fwarn list 2016-06-22 00:08:01 -05:00
skizzerz
ef4e60bc37 Make fwarn +F instead of +A since it can be used to deny commands 2016-06-21 23:51:52 -05:00
skizzerz
c6bd24aea7 Fix fool wins and auto warning expirations 2016-06-21 23:10:19 -05:00
skizzerz
7980b13ba4 Add missing warning messages 2016-06-21 22:02:09 -05:00
skizzerz
79614a0719 Use thread-local storage to hold sqlite connection 2016-06-21 17:02:18 -05:00