New filters implementation. "tags" are removed and replaced with an implementation that filters directly on the event, using an object/map instead of strings.
This commit is contained in:
@@ -73,7 +73,16 @@ end
|
||||
"""
|
||||
foo = "bar"
|
||||
|
||||
[lua2]
|
||||
type = "lua"
|
||||
filters = [{ username = "David" }]
|
||||
code = """
|
||||
function on_message (message, reply)
|
||||
reply("Lua2 says: " .. message)
|
||||
end
|
||||
"""
|
||||
|
||||
[autolink]
|
||||
|
||||
[logger]
|
||||
filters = ["user:Dave"]
|
||||
filters = [{ username = "Dave" }]
|
||||
|
Reference in New Issue
Block a user