mirror of
https://github.com/ReCloudStudio/WebHooker.git
synced 2026-09-22 16:11:29 +00:00
feat(groups): per-group webhook log channel (logTarget)
Add an optional Discord channel/thread or Telegram chat/topic (Group.logTarget) that receives a summary message per webhook the group's routes dispatched: event/action, repo, delivery id and per route×target OK/FAIL lines with green/red embed color. Validated by the admin API and editable in the group editor; docs and example config updated.
This commit is contained in:
parent
b35c2c2f90
commit
0b078d938b
17 changed files with 526 additions and 35 deletions
|
|
@ -124,6 +124,11 @@ export interface Group {
|
|||
* via KV i18n:<lang>). Defaults to "en" when omitted.
|
||||
*/
|
||||
lang?: string;
|
||||
/**
|
||||
* Discord channel/thread or Telegram chat/topic that receives a summary of
|
||||
* every webhook this group's routes dispatch (the group's webhook log).
|
||||
*/
|
||||
logTarget?: RouteTarget;
|
||||
}
|
||||
|
||||
export interface Filter {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue