aboutsummaryrefslogtreecommitdiff
path: root/Plugin/Random.pm
Commit message (Collapse)AuthorAge
* Implement no-reentry request on modulesDavid Phillips2019-01-05
| | | | | This fixes duplicate URL titles from a `title of` command, and will likely find use in future.
* Add runtime module {,un}loadingDavid Phillips2018-09-21
|
* Add must_id functionality backDavid Phillips2018-09-17
| | | | Fixes regression in acc3dd54a4c861e2cb02f0c3cb29ea40ce16f706
* Overhaul config parsingDavid Phillips2018-09-17
| | | | | | | | | | | | | | | | * makes plugin config more private: The config file now uses sections denoted with [Plugin::Foo] where plugin- private config can be stored. Plugins are now passed the usual, as well as a hashref for their own config section. They are also passed the config section of the core, i.e. those config options not appearing in an explicit section. Generally, these are used for bot-global options, so should be accessible to all plugins, but plugin-specific config shall be hidden * tries to improve parsing of hash-like strings and arrays The previous mechanism of using regex to pull out possible tokens was only ever meant to be temporary, and caused problems with escaping or encapsulation inside strings. I have made steps on hash parsing to allow tokens inside strings. Both array and hash parsing still to provide an escape character to escape the item separator (,)
* Rename Shuffle to Random, add choose commandDavid Phillips2018-09-14