summaryrefslogtreecommitdiffstats
path: root/gateway/handlers_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Support rewriting messages from relaybots using ExtractNicks. Fixes #466 (#730)Wim2019-02-231-0/+75
some examples: this replaces a message like "Relaybot: <relayeduser> something interesting" to "relayeduser: something interesting" ExtractNicks=[ [ "Relaybot", "<(.*?)>\\s+" ] ] you can use multiple entries for multiplebots this also replaces a message like "otherbot: (relayeduser) something else" to "relayeduser: something else" ExtractNicks=[ [ "Relaybot", "<(.*?)>\\s+" ],[ "otherbot","\\((.*?)\\)\\s+" ] OPTIONAL (default empty) ExtractNicks=[ ["otherbot","<(.*?)>\\s+" ] ]