3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-22 11:59:43 +01:00
Commit Graph

59 Commits

Author SHA1 Message Date
Pragmatic Software
474cca04b8 Plugin/WordMorph: simplify word validation 2022-10-01 21:32:25 -07:00
Pragmatic Software
8721122c1f Plugin/WordMorph: improve sanity checks 2022-10-01 10:17:27 -07:00
Ckat
7bec49c4ed
Plugins/WordMorph: validate word length (#69) 2022-10-01 09:49:15 -07:00
Pragmatic Software
2cf09ca415 Plugin/WordMorph: minor refactor/clean-up 2022-09-08 07:19:43 -07:00
Pragmatic Software
219851ffaf Plugin/WordMorph: add neighbors subcommand; improve custom error messages 2022-09-07 17:52:48 -07:00
Pragmatic Software
0196e61b72 Plugin/WordMorph: add check command to check if a word exists 2022-09-06 08:02:07 -07:00
Pragmatic Software
adaf4e2ed3 Plugin/WordMorph: several improvements
- add 2880 variant words to wordlist
- morph generator skips words with same suffix
- default steps increased from 3 to 4
- default minimum word length increased from 4 to 5

Note that you can override default steps and word lengths via `start`.
2022-09-04 16:47:43 -07:00
Pragmatic Software
82edbd2a18 Plugin/WordMorph: minor refactoring/clean-up 2022-08-31 23:09:10 -07:00
Pragmatic Software
f71e08cf7f Plugin/WordMorph: minor refactoring/clean-up 2022-08-31 22:54:54 -07:00
Pragmatic Software
3c28dd046a Plugin/WordMorph: allow hinting from right-hand side 2022-08-31 18:27:31 -07:00
Pragmatic Software
bc02854d15 Update WordMorph
- Ensure length of each step is correct
- Add WordMorph to plugin_autoload
2022-08-26 12:47:44 -07:00
Pragmatic Software
0edfee6d15 Update WordMorph 2022-08-26 00:33:41 -07:00
Pragmatic Software
b9dc225763 Plugin/WordMorph: improve hints with ? in place of next letter change 2022-08-24 23:11:47 -07:00
Pragmatic Software
d5c336c058 Add WordMorph plugin 2022-08-24 14:37:02 -07:00
Pragmatic Software
e656fb46cf Revert "FuncBuiltins: maybe-the: do it for all words"
This reverts commit 7093fa0ae4.
2022-08-03 11:25:05 -07:00
Pragmatic Software
7093fa0ae4 FuncBuiltins: maybe-the: do it for all words 2022-08-03 05:19:45 -07:00
Pragmatic Software
d824255c6e Misc fixes and improvements
applets/random_quote.pl: URI encode arguments

Plugins/FuncSed: improve error handling
2022-08-03 05:18:33 -07:00
Pragmatic Software
e4becb22a1 FuncBuiltins: maybe-the: special-case some indefinite nouns 2022-07-14 10:15:30 -07:00
Pragmatic Software
d12a463987 Plugin/FuncBuiltins: do not ucfirst on nicks; add more POS to maybe-the 2022-07-09 19:09:27 -07:00
Pragmatic Software
3ab4ed0a81 Plugin/FuncBuiltin: add maybe-the function
The `maybe-the` function examines the argument's part-of-speech
classification (noun, verb, etc) to determine whether to prepend
the word "the".
2022-07-08 09:11:56 -07:00
Pragmatic Software
0cf80092a7 Plugins/Wttr: add observation time to default option 2022-07-03 07:22:33 -07:00
Pragmatic Software
c0ade8a2f6 Plugin/GoogleSearch: show 3 matches instead of 1 2022-06-25 17:31:40 -07:00
Pragmatic Software
553fdb884c Plugin/Plang: do not use output_value() on exceptions 2022-06-12 19:33:53 -07:00
Pragmatic Software
d003a326aa Plugins/Wttr: add -conditions to default option 2022-05-22 17:12:57 -07:00
Pragmatic Software
23efee674a Plugin/UrlTitles: update user-agents 2022-03-17 19:17:31 -07:00
Pragmatic Software
1abc466e7a Plugin/UrlTitles: include URL in history file 2022-03-17 16:47:06 -07:00
Pragmatic Software
756895b17f Plugin/UrlTitles: fix indentation 2022-02-27 17:11:55 -08:00
Pragmatic Software
c1cfa0ef4e Plugins/UrlTitles: fix indentation 2022-02-27 17:08:30 -08:00
Pragmatic Software
02cc7fc488 Refactor UrlTitles plugin
Moved logic from get_title.pl applet to plugin.
Removed get_title.pl applet.
ProcessManager::execute_process() can now take a reader subref.
2022-02-27 16:58:01 -08:00
Pragmatic Software
3f5a11e608 Plugin/Plang: fix run-time unhandled exception error reporting 2022-01-18 13:42:06 -08:00
Pragmatic Software
02a600fa32 Plugin/Plang: improve error message of unhandled exceptions 2022-01-18 10:59:56 -08:00
Pragmatic Software
731a95ef11 Plugins/Plang: rename Grammar to ParseRules 2022-01-03 15:47:30 -08:00
Pragmatic Software
3d97dc2c33 Rename "modules" to "applets"
"Applet" is a much better name for the external command-line
scripts and programs that can be loaded as PBot commands. They
will no longer be confused with Perl modules.

https://en.wikipedia.org/wiki/Applet
2021-11-19 18:05:50 -08:00
Pragmatic Software
c7bb4b51cd Plugin/Spinach: fix path to Storage::HashObject 2021-09-12 11:11:44 -07:00
Pragmatic Software
2451eda70f GoogleSearch: -n option can now appear anywhere 2021-08-28 09:13:08 -07:00
Pragmatic Software
aaad36f99c GoogleSearch: fix usage and improve stuff 2021-08-28 09:06:33 -07:00
Pragmatic Software
ebb209549a Plugin/FuncBuiltins: Add ana function to explicitly fix-up a/an articles 2021-08-23 13:36:11 -07:00
Pragmatic Software
275ee6952f Plugin/RemindMe: fix double-dequeue issue
Whoops. EventQueue already removes the event after processing it. There
is no point to dequeuing the reminder event from within do_reminder().
Doing this caused EventQueue to dequeue the event following the
reminder event.
2021-08-06 11:02:32 -07:00
Pragmatic Software
f2a45d74a6 Plugin/GetUrl: add TODO to header 2021-08-06 10:16:14 -07:00
Pragmatic Software
f9d8c09b5b Add simple GetUrl plugin, not autoloaded 2021-08-05 19:35:30 -07:00
Pragmatic Software
7aac2bba50 Plugin/RunCommand: output STDERR lines; output error if command not found 2021-08-04 20:03:25 -07:00
Pragmatic Software
03a14c4928 Plugin/RunCommand: silence useless warning 2021-08-04 19:01:57 -07:00
Pragmatic Software
5c43b46477 Plugin/RunCommand: improve pumping and handle lines longer than maximum IRC mesasge length 2021-08-04 18:50:07 -07:00
Pragmatic Software
4c5492f5e9 Plugins/Plang: fix add_factoid() 2021-08-02 18:06:50 -07:00
Pragmatic Software
926d57990b Support named-parameters in command registration
- convert several plugins to use named-parameters
- misc clean-ups in unrelated files
2021-07-30 19:01:24 -07:00
Pragmatic Software
483984754a Simplify use of getopt() throughout 2021-07-30 15:01:38 -07:00
Pragmatic Software
bbe5b58b97 Plugin/Wttr: recent changes needs default/all moved up in options 2021-07-28 18:37:40 -07:00
Pragmatic Software
12cedcd60e Plugin/Wttr: output options in consistent order 2021-07-28 17:33:39 -07:00
Pragmatic Software
a27a36a05e Plugin/Wttr: add newlines to output so truncation text is readable 2021-07-28 17:11:44 -07:00
Pragmatic Software
c75be8b4b0 Refactor PBot::Core::Factoids into PBot::Core::Factoids::* 2021-07-26 21:39:44 -07:00