aboutsummaryrefslogtreecommitdiff
path: root/Plugin/Correction.pm
Commit message (Collapse)AuthorAge
* Add Correction moduleDavid Phillips2020-06-08
This commit adds a plugin for replacing arbitrary regexes with corrections. This is similar to the Titillate module, except that only the first match is replaced, and the whole line with the correction made is returned. This can be used for common spelling mistakes, or for memey replacements. Since it is likely to get annoying, there is also a config option to reduce the bot to only respond with some level of random chance.