diff options
author | David Phillips <david@yeah.nah.nz> | 2020-06-08 21:11:17 +1200 |
---|---|---|
committer | David Phillips <david@yeah.nah.nz> | 2020-06-08 21:16:50 +1200 |
commit | 4f1f44cc656df0601f8cb6c5d4770d3efb55c43e (patch) | |
tree | bd3957e563a557c43d5d6dc2d64d638d368de48f /docker/Dockerfile | |
parent | eacc5eebb0b646bf6d9d306a778eccdadc0780b7 (diff) | |
download | idalius-4f1f44cc656df0601f8cb6c5d4770d3efb55c43e.tar.xz |
Add Correction module
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.
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r-- | docker/Dockerfile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 500d622..4241cab 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -10,6 +10,7 @@ RUN apk add --no-cache perl perl-dev perl-app-cpanminus make gcc libgcc wget mus apk add --no-cache perl-config-tiny perl-html-parser perl-datetime perl-io-socket-ssl && \ cpanm install POE POE::Component::IRC && \ cpanm install -n POE::Component::SSLify && \ + cpanm install Data::Munge && \ apk del --no-cache perl-dev perl-app-cpanminus make gcc libgcc wget musl-dev openssl-dev zlib-dev && \ rm -rf /root/.cpanm /var/cache/apk/* |