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
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
e14c3f1d9c
Make alpha bite turn target immediately
...
RIP long bitten messages, you shall be missed :(
2016-07-21 18:20:29 -05:00
skizzerz
d2dc4d2deb
Remove care/kill color/bold/startspam settings
2016-07-16 22:48:18 -05:00
nyuszika7h
e83e6caac3
Remove bureaucrat
...
Closes #220 .
2016-06-23 22:20:33 +02:00
skizzerz
79c70fdeb3
Adjust messages
2016-06-20 13:44:09 -05:00
skizzerz
16a0a28e36
Re-add botconfig.ADMINS and ADMINS_ACCOUNTS
...
Still considered legacy/backwards-compat code, so giving out +F flags
should be preferred, but now wildcard admins are possible again.
2016-06-14 17:05:05 -05:00
skizzerz
b39828be7f
Remove !join
...
bug. Now it should actually work even if the user has no warnings.
Also don't list expired/deleted warnings as unacknowledged.
Warning expiration can now be modified via !fwarn set, and the default
expiration is now 30d instead of never (never can be manually specified
along with a handful of aliases that mean the same thing).
2016-06-14 12:02:54 -05:00
skizzerz
2f62c4a867
Fix some embarassing typos
2016-06-13 16:40:57 -05:00
skizzerz
adea98e3ed
Fix some derps
...
Need to move module init code after the functions it calls, also forgot
the sanction definitions for 11-14 points.
2016-06-12 23:03:47 -05:00
skizzerz
2151df4fef
Add !fflags and !ftemplate
...
These allow for access control, and work pretty much exactly like they
do in atheme's ChanServ (the /cs flags and /cs template commands).
Also remove unused things from botconfig.py.example.
2016-06-07 17:02:12 -05:00
skizzerz
a6ea55a8fe
Finish warning system
...
- fwarn/warn commands to view and manipulate warnings
- fstasis can now only decrease stasis, not add to it
- refreshdb command can sync bot game state with what is in the db
(including expiring any unexpired stasis or warnings)
- stasis now expires
- tempban is still not implemented and will not be implemented as
part of the PR (it will come later, if ever)
- sanctions can be automatically applied after warnings cross a
certain threshold; some defaults are configured
2016-06-07 14:17:21 -05:00
skizzerz
2d2ce6483a
Initial work on new schema and warning system
...
Still very WIP and not completed, bot likely doesn't even run.
2016-06-06 14:35:58 -05:00
nyuszika7h
9ea9a1a317
Fix modelines in other files
2016-05-11 16:09:19 +02:00
Vgr E. Barry
7b2cc43a50
Run, Forrest, Run!
2016-04-09 16:57:11 -04:00
skizzerz
b369a0d4b3
Nothing to see here, move along.
2016-03-31 23:46:43 -05:00
skizzerz
f0663d7aa4
Add var.GAME_PHASES to track when a game is in progress instead of hardcoding night/day
2016-02-19 15:04:26 -06:00
Ryan Schmidt
997b2c3c89
Default balance fix
...
12p default is horribly skewed towards wolves (11 and 13 are pretty well balanced though), move det from 13p to 12p to combat this
2016-02-17 16:25:44 -07:00
Vgr E. Barry
fb3e7eb8b6
woof
2016-02-11 13:26:23 -05:00
skizzerz
abc90530d8
Partial revert of 56827a2, rm unneeded (and horrific) code
2016-02-01 21:05:01 -06:00
jacob1
56827a2ce2
lycan balance adjustments
...
lycan#2 moved down from 10 to 9p
wolf#2 swapped for wolf shaman
GA swapped for bodyguard
2016-02-01 20:54:15 -05:00
skizzerz
6738acc82c
Add disabled-by-default start spam killer
...
Like the color/bold killers, this can be configured to kick people if
they spam !start while it is being ratelimited for them.
2016-02-01 17:32:02 -06:00
skizzerz
b29701782f
Maelstrom fixes
...
- Correctly assign random roles upon game start
- Let people know if they're villager/cultist or whatever even on nights
2 and beyond
2016-01-14 01:08:49 -06:00
Ryan Schmidt
57e5aec9cd
Increase quit grace time to 60s
...
Rejoining an IRC server after quitting can take a bunch of time for slow connections or if a lot of channels are to be joined. Additionally, quits could be indicative of temporary internet issues, want to make sure we give sufficient time to reconnect in case of a DHCP lease expiring or whatnot.
2015-12-20 14:54:22 -07:00
Vgr E. Barry
c47a84d058
Add the wolf shaman role
2015-11-23 19:36:02 -05:00
skizzerz
b351cd496f
Enhance succubus win message
2015-11-14 19:22:42 -06:00
Lane Farrow
a4e21aa997
move irc messages to json and allow overriding in custom file
2015-11-10 19:58:50 -06:00
jacob1
b97085c32a
fix database error
2015-11-01 19:03:13 -05:00
jacob1
d4f9e59576
add demoniac and succubus wins to gstats
...
tables should be automaticly converted
2015-10-31 12:13:52 -04:00
skizzerz
e2f313440d
Merge remote-tracking branch 'origin/master' into sleepy
2015-10-30 19:40:46 -05:00
skizzerz
627efab5ec
Fix priest death in sleepy, update alpha messages for doomsayer
2015-10-30 12:19:21 -07:00
Vgr E. Barry
e013d76d5c
Remove medium from ROLE_GUIDE
...
We don't have time to introduce it in time for the Halloween update, so
let's remove it to prevent bad things happening (e.g. random)
2015-10-30 11:45:43 -04:00
Vgr E. Barry
e1a3ed7bf2
Add dullahan
2015-10-29 17:46:00 -04:00
skizzerz
16db66677c
Complete doomsayer (untested)
2015-10-29 01:24:27 -05:00
Vgr E. Barry
3571d664ed
Some succubus fixes
2015-10-29 00:06:00 -04:00
Vgr E. Barry
da81909162
Most of succubus
2015-10-27 22:54:18 -04:00
Lukas Martini
2421485875
Remove duplicate demoniac entry in TRUE_NEUTRAL_ROLES in src/settings.py
2015-10-27 23:42:10 +01:00
Lukas Martini
70454bfc3a
Merge branch 'sleepy' of https://phab.skizzerz.net/diffusion/LKOS/lykos into sleepy
2015-10-27 23:34:38 +01:00
Lukas Martini
c80078d7f4
Add first version of the demoniac role
2015-10-27 23:34:09 +01:00
Vgr E. Barry
9765703902
Finish deadchat
2015-10-27 16:24:06 -04:00
skizzerz
be051dde70
Initial work for prophet role
...
!pray command is complete, role is missing night messages as well as
initializing/resetting var.PRAYED in transition_night
2015-10-27 01:02:28 -05:00
skizzerz
dea6052ed5
Rename devout to prophet
2015-10-26 23:09:25 -05:00
Vgr E. Barry
10be2e341f
First draft of the !deadchat pref
2015-10-26 23:49:41 -04:00
Vgr E. Barry
524773bcdf
Finish the woflchat restrictions for the Halloween events
2015-10-26 10:40:39 -04:00
Vgr E. Barry
1fb4fb0418
Syntax fixes
2015-10-25 22:29:21 -04:00
skizzerz
32bd4bed30
Add in possession roles, convert template_restrictions to an ordereddict
2015-10-25 20:43:35 -05:00
Vgr E. Barry
38a35dd3ad
Merge branches 'sleepy' and 'sleepy' of https://phab.skizzerz.net/diffusion/LKOS/lykos into sleepy
2015-10-25 21:40:15 -04:00
Vgr E. Barry
5476bcdf27
Small tweaks to wolfchat restrictions
2015-10-25 21:37:59 -04:00
skizzerz
92741acb2f
Add preliminary sleepy mode
...
Also new entries into ROLE_GUIDE for all of the to-be-added roles and
templates.
2015-10-25 20:04:08 -05:00
Lukas Martini
99460a3651
Require a minimum number of votes to start a game
2015-10-25 17:21:23 +01:00