From 98f8821fda0488685d6e36d1b70510444487abec Mon Sep 17 00:00:00 2001 From: JustAnotherArchivist Date: Wed, 13 May 2020 15:00:54 +0000 Subject: Add option to truncate overlong messages instead of splitting them --- config.example.toml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config.example.toml') diff --git a/config.example.toml b/config.example.toml index 6bfa3a1..9d6c483 100644 --- a/config.example.toml +++ b/config.example.toml @@ -26,3 +26,5 @@ #module = # moduleargs are additional arguments to be passed into the module's process function after the request object. Example use: Gitea webhook secret key #moduleargs = [] + # overlongmode determines what happens to messages that are too long to be sent to the channel. The value may be 'split' (split into multiple messages on spaces or codepoints) or 'truncate' (truncate everything exceeding the limit). + #overlongmode = 'split' -- cgit v1.3.1-10-gc9f91