RSS
Rev. Time Author
966ad02b4e0d 2020-08-14 17:36:08 alexa <alexa>

Implement "passthrough" options for message rules.

* Removed continueOn field from message rule file
* Added PassthroughType enum
* Added passthroughDelay field to message rule file
* Added passthroughTyping field to message rule file
* Monika class now handles message rule passthroughs
* Various comments added
* Removed RuleDef#initialize

2f3d612f264c 2020-08-14 16:49:08 alexa <alexa>

Added Inside and InsideLower to RuleMatchType.

Inside is for "this string exists somewhere inside the message."
InsideLower is the same, but the message is #downcase'd first.

a0eb13ecc807 2020-08-14 16:42:28 alexa <alexa>

Cache regexes

4d3e17de3b0f 2020-08-14 16:17:34 alexa <alexa>

Simplify message rules, but also expand functionality

* All message content match criteria is now under the match: field
* RuleMatchType now dictates how the match criteria are interpreted
* Rename respondOneOf -> responses

f2c77475a7b6 2020-08-14 15:46:41 alexa <alexa>

Split some code into multiple files

5d51a4db16b2 2020-08-14 00:00:41 alexa <alexa>

Remove unneeded libraries from the shard

fdb3bf05e29c 2020-08-13 23:58:20 alexa <alexa>

Change from json_mapping to JSON::Serializable

d91316d80d3b 2020-08-13 23:37:18 alexa <alexa>

Minor code cleanup, and remove custom setter for CommandDef#longHelp

0131920be9d5 2020-08-13 22:23:42 alexa <alexa>

Include what we're rating in !rate

71b13e9adc71 2020-08-13 22:23:24 alexa <alexa>

Mark some things protected, and add some comments

83793e98fb1e 2020-08-13 00:20:02 alexa <alexa>

Bump version and rebuild documentation.

4f89d07fd6c7 2020-08-13 00:19:24 alexa <alexa>

Added -:user-notes admin command

1a1b264f1c00 2020-08-13 00:19:16 alexa <alexa>

Rewrote dbtool.

* Uses PostgreSQL now
* Loads a monika.yaml config for the database connection
* Can check for (and create) some missing tables

56623775b93f 2020-08-13 00:18:11 alexa <alexa>

Don't create the table using this tool

e0e5bd73845c 2020-08-12 23:23:06 alexa <alexa>

safebooru-tool shouldn't be in the attic, derp

85e7113fa081 2020-08-12 23:00:39 alexa <alexa>

Remove some targets from the shard

5a3dc47d597b 2020-08-12 23:00:14 alexa <alexa>

Move some files up into the attic

39bcb1f0a30d 2020-08-12 22:36:46 alexa <alexa>

Enhance the restrictNsfw config option for image commands

07fdcae4dcad 2020-08-12 22:12:36 alexa <alexa>

Properly split tags

463ba08ad184 2020-08-12 22:10:26 alexa <alexa>

Move image commands into their own subsystem

fb42cb35de9d 2020-08-12 21:52:49 alexa <alexa>

All commands are now defined using the defCommand macro.

* Commands get their command name passed to them
* defCommandSig is a convenience macro for generating a command signature

9d5238d00099 2020-08-12 20:32:18 alexa <alexa>

Add support for defining Danbooru-like/Moebooru-like commands in the
main config file.

58ed782c475e 2020-08-12 20:31:47 alexa <alexa>

Moebooru URLs are slightly different, so support those as well

6949aa925778 2020-08-12 20:15:01 alexa <alexa>

The !safebooru command now uses Monika::APIs::Booru

cc6e18dff82e 2020-08-12 20:14:37 alexa <alexa>

Add generic Danbooru-like API class

ad574c6edab1 2020-08-12 20:14:12 alexa <alexa>

Added Monika.isNSFW to check if a channel (or the channel a message is on) is NSFW

0170f799bce2 2020-08-12 18:31:23 alexa <alexa>

Bump required libremiliacr version

f94424119784 2020-08-09 21:09:28 alexa <alexa>

Update readme

e06d96b11350 2020-08-09 20:52:42 alexa <alexa>

Remove file

d2a7390cb9bf 2020-08-09 20:47:56 alexa <alexa>

More formatting

Show on old repository browser