Commit Graph

12 Commits

Author SHA1 Message Date
Pragmatic Software 4809341e0f Commands/Factoids: minor formatting clean-up 2021-10-19 21:05:16 -07:00
Pragmatic Software 74401977e1 Factoids: look-up use_output_queue/preserve_whitespace properly 2021-09-10 11:03:20 -07:00
Pragmatic Software d1bb30ef94 Replace Text::Levenshtein with Text::Levenshtein::XS
Text::Levenshtein::XS is much, much, much, much faster and more
efficient.

Existing PBot users: Please run `cpanm Text::Levenshtein::XS` to install this
module.
2021-08-27 19:41:51 -07:00
Pragmatic Software ff298a3862 Factoids: add `factoid` command
The `factoid` commands interprets its arguments as an anonymous factoid.
Useful for testing factoid actions without creating and deleting them.

E.g.:

  <pragma> !factoid /say $args[1:2] --args 'testing hello world args'
    <PBot> hello world
2021-08-25 21:25:18 -07:00
Pragmatic Software 68490b6ac5 Factoids: add blank line between `factlog` entries 2021-08-22 09:55:50 -07:00
Pragmatic Software 483984754a Simplify use of getopt() throughout 2021-07-30 15:01:38 -07:00
Pragmatic Software c75be8b4b0 Refactor PBot::Core::Factoids into PBot::Core::Factoids::* 2021-07-26 21:39:44 -07:00
Pragmatic Software 5567270f59 Factoids: ensure user has capability when factsetting cap-override 2021-07-26 07:46:50 -07:00
Pragmatic Software 7b703ccffe Move Storage and Utils into Core 2021-07-23 19:22:25 -07:00
Pragmatic Software 2229eecca4 Progress on moving commands from Core to Commands 2021-07-23 07:24:30 -07:00
Pragmatic Software 2ec89864bd Fix cmd_factfind not being found 2021-07-21 10:49:38 -07:00
Pragmatic Software abfbc558e8 Progress on refactoring and polishing everything 2021-07-20 23:06:03 -07:00