Handlers.once: A method of adding a single-run handler that is removed after exection.
Optional MaxRuns argument for each handler, letting you choose the number of runs before it removes itself. Default is infinite.
More expressive and easy to use matches. As well as functions, handlers now supports:
-> Strings as match, checking against the Action tag.
-> 'MessageMatchSpecs': Partially described messages. In this mode, each tag given in the 'spec' is checked against the value in the message. It allows you to:
Wildcard: Is the tag given at all?
Function: Run a function against the tag value (optional second argument is the full message)
This commit adds support for: