Implements discord notifications endpoint

Implements #4346
This commit is contained in:
Simone Mainardi 2020-09-02 19:02:08 +02:00
parent 7aa6fd3bd8
commit d7a02546c9
4 changed files with 44 additions and 37 deletions

View file

@ -1226,6 +1226,7 @@ local known_parameters = {
["webhook_password"] = validateEmptyOr(validateSingleWord),
["discord_url"] = { webhookCleanup, validateUnquoted },
["discord_sender"] = validateUnquoted,
["discord_username"] = validateEmptyOr(validateSingleWord),
-- nIndex
["select_clause"] = validateUnquoted,