Commit graph

121 commits

Author SHA1 Message Date
jesopo
523547e055 duck chance should be 5%, not 50% 2020-02-19 15:39:11 +00:00
jesopo
aa02ba843c update ducks.py to use command specs (and not docstrings) 2020-02-15 00:22:36 +00:00
jesopo
1d92923a77 show how many seconds by which you missed !bef/!bang 2020-02-07 14:40:54 +00:00
jesopo
46058c51c5 support !duckstats for users other than yourself 2019-11-11 17:21:40 +00:00
jesopo
124fc4fc42 Set duck_lines to -1 when a duck is waiting to quack - do not allow bef/trap
closes #177
2019-10-15 10:33:13 +01:00
jesopo
a43edd17ae duck_active should be when the duck spawns 2019-10-08 21:52:26 +01:00
jesopo
a2ccf85abf duck-prevent-highlight by default, improve !friends/!enemies query 2019-10-08 16:28:52 +01:00
jesopo
5035a5370c default !friends/!enemies to be for the current channel 2019-10-08 16:20:52 +01:00
jesopo
355689bb35 send ducks 5-20 seconds after the message that triggered it 2019-10-08 13:57:26 +01:00
jesopo
4bfb4c3200 Add IntRangeSetting, reorder OptionsSetting arg order 2019-08-30 14:40:54 +01:00
jesopo
e19638827e '+= 1' -> '+= value' 2019-07-02 23:36:18 +01:00
jesopo
718b6bc394 add !duckstats 2019-07-02 23:34:57 +01:00
jesopo
d671d8b470 'patern' -> 'pattern' 2019-07-01 22:50:58 +01:00
jesopo
ae9d099a41 Refactor set/channelset/serverset/botset in to 'utils.Setting' objects 2019-06-28 23:16:05 +01:00
jesopo
c5785a2d14 implement @utils.kwarg() magic, use it for command.regex hooks 2019-06-26 14:37:41 +01:00
jesopo
43108b96ba show nickname in NO_DUCK non-kick message 2019-06-19 10:22:46 +01:00
jesopo
98e1202c78 Allow command.regex hooks to opt-in to being triggered from a /me
closes #68
2019-06-16 18:40:25 +01:00
jesopo
f8b086b095 "saved a duck" -> "befriended a duck" 2019-06-14 17:11:44 +01:00
jesopo
9b5f946cec 80 col wrap 2019-06-14 17:11:36 +01:00
jesopo
675c510223 typo, 'acount' -> 'count' 2019-06-12 22:57:04 +01:00
jesopo
f336cecb06 "duck" when duck count is 1, "ducks" otherwise 2019-06-12 22:36:26 +01:00
jesopo
03917649ee Add help/usage strings for ducks.py 2019-06-10 16:41:32 +01:00
jesopo
abccb06dc5 Add missing time import 2019-06-08 12:13:51 +01:00
jesopo
d98e814d3f Show how many seconds it took to !bef/!trap a duck 2019-06-08 12:10:27 +01:00
jesopo
8e6835be3c Only show typing indicators for commands that expect output 2019-06-07 15:57:15 +01:00
Anton McClure
5eeffc30ef
Replaced command ,bang with ,trap 2019-06-05 10:37:58 -04:00
jesopo
7e3375cfbd Change duck-triggering to be through regex commands that catch ALL messages;
this will make is-silenced and ignores work automatically
2019-06-05 14:18:41 +01:00
jesopo
74c3d3a009 Don't count JOINs towards duck-triggering messages 2019-06-05 14:16:37 +01:00
jesopo
268c5adb3c Add depends-on hashflags to relevant modules 2019-05-25 21:40:06 +01:00
jesopo
cf29c37112 Add usage examples for all settings 2019-05-23 10:28:14 +01:00
jesopo
94d2f103b0 Don't show ducks when the bot is silenced 2019-05-15 16:48:20 +01:00
jesopo
2d6d2a98d7 Typo in ducks.py, 'DEFAUL' -> 'DEFAULT' 2019-05-11 18:26:53 +01:00
jesopo
6ef7f8374d Change ducks-min-message default to 100 2019-05-11 17:19:31 +01:00
jesopo
f715e46155 Stop using prevent_highlight. it ruins terminals on OS X 2019-05-04 23:28:51 +01:00
jesopo
d999548020 Change min duck messages to 40, change chance back to 5% 2019-05-03 16:47:56 +01:00
jesopo
8c8205522e Actually import EventManager in ducks.py 2019-05-03 16:40:21 +01:00
jesopo
4d8b1a1a0d Set received.message.channel priority to PRIORITY_MONITOR 2019-05-03 16:38:45 +01:00
jesopo
167fe7b070 Add !friends and !enemies to ducks.py 2019-05-03 16:34:41 +01:00
jesopo
c89742a7e7 Reset duck_lines to 0 when a duck has spawned 2019-05-03 16:26:35 +01:00
jesopo
b7e14148bb Change duck-spawn change to 10% per message after 20 messages 2019-05-03 16:07:49 +01:00
jesopo
8ac93d57f3 there's no event in bootstrap_channel 2019-05-03 15:44:13 +01:00
jesopo
2fd92ce2fa bootstrap old channels for ducks.py 2019-05-03 15:42:39 +01:00
jesopo
5bfffc25e9 Refector ducks.py 2019-05-03 15:34:54 +01:00
jesopo
8b9062b942 Better constifying of color/font chars 2018-11-13 16:02:26 +00:00
jesopo
819f4e0680 Pass context-wrapped timers to each module, add ModuleManager.BaseModule.on_load 2018-10-12 18:07:23 +01:00
jesopo
69d58eede2 Move src/Utils.py in to src/utils/, splitting functionality out in to modules of
related functionality
2018-10-03 13:22:37 +01:00
jesopo
10ef985a8a Switch to using docstring for usage, permission and require_mode 2018-09-30 17:29:09 +01:00
jesopo
6eb8b1ba6d Move all exports to @Utils.export calls 2018-09-27 12:08:07 +01:00
jesopo
51a52e2b0e Switch to using @Utils.hook and docstrings for event hooks 2018-09-26 18:27:17 +01:00
jesopo
ecb9d7cb3f Move most code in root directory to src/ 2018-09-24 15:13:27 +01:00