3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-23 20:39:26 +01:00
Commit Graph

308 Commits

Author SHA1 Message Date
Pragmatic Software
1c2b4da9ab Consolidate imports into PBot::Imports 2021-06-18 21:23:34 -07:00
Pragmatic Software
6a4e14ef8d Progress on refactoring and polishing everything 2021-06-11 14:58:16 -07:00
Pragmatic Software
3ddd190d89 Progress on refactoring and polishing everything 2021-06-08 15:52:47 -07:00
Pragmatic Software
613890707a Progress on refactoring and polishing everything
More to come!
2021-06-06 19:12:14 -07:00
Pragmatic Software
27bb3bab95 Add factoid > nick redirection (only for factoids, not for commands) 2021-05-31 11:36:29 -07:00
Pragmatic Software
146d9b67a9 Add optional #channel.interpolate_factoids registry setting 2021-05-28 09:45:18 -07:00
Pragmatic Software
133f4fa4ab Factoids: fix previous commit 2021-05-26 23:59:19 -07:00
Pragmatic Software
1c52041be2 Factoids: fix minor warning 2021-05-26 22:53:08 -07:00
Pragmatic Software
4b76dbf237 strictnamespace is now more strict 2021-05-26 21:42:01 -07:00
Pragmatic Software
520cce7ea8 Factoids: expand_factoid_vars() now respects factoid interpolate metadata 2021-05-25 13:28:08 -07:00
Pragmatic Software
0977f9aa1e Factoids: do not encode JSON in expand_action_arguments() 2021-02-07 13:42:23 -08:00
Pragmatic Software
49d81072cd Factoids: stricter search for get_meta() 2020-09-29 19:27:04 -07:00
Pragmatic Software
b5f0abefb8 Factoids: fix a thing 2020-07-19 16:11:40 -07:00
Pragmatic Software
93b444e3f5 Factoids: whoops, missed a character 2020-07-18 12:52:47 -07:00
Pragmatic Software
d6e81a4781 Factoids: fix expansion modifiers 2020-07-18 12:46:44 -07:00
Pragmatic Software
be06b8e241 Factoids: revert $var expansion relocation 2020-07-06 20:56:06 -07:00
Pragmatic Software
38b9853aad Factoids: $var expansion was happening too early in the pipeline 2020-06-27 23:10:11 -07:00
Pragmatic Software
bbbfcbb25a Factoids: minor formatting clean-up 2020-06-20 21:37:21 -07:00
Pragmatic Software
2efd91d382 Factoids: do not prepend $ref_from if pipe or subcmd exists; misc clean-ups 2020-06-20 20:55:22 -07:00
Pragmatic Software
2d47802cff Factoids: allow empty %() items without needing quotes 2020-06-19 19:58:52 -07:00
Pragmatic Software
7e2caa58af Factoids: add some error-checking for expansion modifiers 2020-06-19 13:12:50 -07:00
Pragmatic Software
bb6d9a5919 Factoids: disallow whitespace around ":" in modifiers 2020-06-19 12:07:01 -07:00
Pragmatic Software
5495a6b406 Factoids: weights can now be fractional 2020-06-19 09:24:38 -07:00
Pragmatic Software
6ea523f608 Factoids: fix off-by-one in weighted selection 2020-06-17 11:36:42 -07:00
Pragmatic Software
afcb4a0f98 Factoids: unescape certain symbols after expansion 2020-06-17 04:11:18 -07:00
Pragmatic Software
13cb0f9dc6 Factoids: sorting unnecessary for weighted selection 2020-06-17 02:24:46 -07:00
Pragmatic Software
a2c918c94e Factoids: remove unnecessary statement 2020-06-16 21:29:47 -07:00
Pragmatic Software
914e844f11 Factoids: add weighted list selection; factadd list a:weight(1) b:weight(2) 2020-06-16 21:26:09 -07:00
Pragmatic Software
0b94ada897 Factoids: fix issue where pick_unique() could repeat a selection 2020-06-14 22:34:24 -07:00
Pragmatic Software
b3ca5e69cd Factoids: expand_factoid_vars(): special-case Perl's $a and $b, etc 2020-06-12 18:57:01 -07:00
Pragmatic Software
eb9b18cf37 Factoids: fix potential infinite recursion in $var expansion 2020-06-12 12:05:25 -07:00
Pragmatic Software
9b0696b898 Factoids: minor style clean-up 2020-06-12 01:53:25 -07:00
Pragmatic Software
1d98efe9b0 Factoids: expand_factoid_vars(): support multi-line text 2020-06-12 01:37:55 -07:00
Pragmatic Software
ead2d5d55f Factoids: correct recursive $var expansion 2020-06-12 00:02:32 -07:00
Pragmatic Software
90b23d5391 Factoids: Fix typo and edge case 2020-06-11 23:34:53 -07:00
Pragmatic Software
d81482a5c5 Factoids: restore select_indefinite_article to $variable expansion 2020-06-11 23:03:14 -07:00
Pragmatic Software
78de682320 Factoids: refactor and improve $variable parsing and replacement 2020-06-11 22:51:40 -07:00
Pragmatic Software
af7573a20a Factoids: Selectors now fix leading indefinite articles; i.e. a %(orange) -> an orange 2020-06-10 23:06:08 -07:00
Pragmatic Software
5676d6f13b Factoids: improve nested selectors 2020-06-07 15:22:48 -07:00
Pragmatic Software
ef072602fa Factoids: test enabled for definedness 2020-06-07 00:12:09 -07:00
Pragmatic Software
a40b443c66 Factoids: improve nested Selectors such that %(%(f|b)oo):pick_unique(2) -> foo boo 2020-06-07 00:07:52 -07:00
Pragmatic Software
03fb043ec6 Factoids: significantly improve expansion modifier parsing 2020-06-04 02:28:11 -07:00
Pragmatic Software
20febe7ccd Factoids: add quick-and-dirty early version of :join() modifier with many broken edge cases 2020-06-03 20:47:18 -07:00
Pragmatic Software
128c3014c7 Factoids: Selectors can now be nested within each other 2020-06-03 20:11:41 -07:00
Pragmatic Software
5e574624b4 Factoids: Remove debug statement 2020-06-02 22:41:19 -07:00
Pragmatic Software
a3a7319497 Factoids: add %(a|b|c) syntax to select a random item 2020-06-02 22:25:09 -07:00
Pragmatic Software
158b13006c Factoids: minor whitespace reformatting 2020-05-31 15:32:05 -07:00
Pragmatic Software
945b81f12d Factoids: properly set range for pick $variable modifier 2020-05-30 02:47:08 -07:00
Pragmatic Software
0a4ef4eb40 Factoids: change sort+/sort- to +sort/-sort in $var modifier 2020-05-30 01:28:59 -07:00
Pragmatic Software
2e3fed5bae Factoids: more improvements to $variable expansion:
* removed debug code
* index() with a negative value will index from tail end
* improved handling of trailing modifier punctuation
2020-05-30 01:03:07 -07:00