From 8cd8756722c8893a3038c9597b422f7c8cb4fccd Mon Sep 17 00:00:00 2001 From: Adrian Malacoda Date: Wed, 10 May 2017 02:28:04 -0500 Subject: [PATCH] add todo --- TODO.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 TODO.md diff --git a/TODO.md b/TODO.md new file mode 100644 index 0000000..93c89bd --- /dev/null +++ b/TODO.md @@ -0,0 +1,11 @@ +# TODO +## 0.0.2 +### Filters +* Basic mechanism for filtering out messages between modules. +* Filter tags are of the type `key:value` (e.g. `type:message`, `username:Kuschelyagi`) +* Each individual filter is a stack of one or more filter values. + * Event must match AT LEAST one of these filters IN FULL in order to be accepted. + * For example, module `foo` declares `filters = [["username:Kuschelyagi", "channel:shitpost"]]`. This is a single filter with two tag conditions. This means events must match on BOTH tags to be accepted by `foo` + * If, on the other hand, module `foo` instead declares `filters = ["username:Kuschelyagi", "channel:shitpost"]` then these are separate filters and the event must only match on ONE of them. +* Other proposed filter notations: + * `filters = [{ username = "Kuschelyagi", channel = "shitpost" }]`