mirror of
https://github.com/ReCloudStudio/WebHooker.git
synced 2026-09-22 16:11:29 +00:00
feat: add Discord role mention support to routes
This commit is contained in:
parent
869d84d78c
commit
76ba2c0a89
17 changed files with 201 additions and 14 deletions
|
|
@ -51,6 +51,22 @@ routes:
|
|||
# - platform: discord
|
||||
# channelId: "CHANNEL_ID_HERE"
|
||||
|
||||
# Discord role mentions: when this route fires, the listed role ids are
|
||||
# pinged in every Discord target (Telegram targets ignore this field).
|
||||
# - id: mention-on-release
|
||||
# name: "Mention Roles on Release"
|
||||
# enabled: true
|
||||
# groupId: default
|
||||
# discordRoleIds: ["111111111111111111", "222222222222222222"]
|
||||
# filters:
|
||||
# - type: event
|
||||
# match: release
|
||||
# - type: action
|
||||
# match: published
|
||||
# targets:
|
||||
# - platform: discord
|
||||
# channelId: "CHANNEL_ID_HERE"
|
||||
|
||||
# Fallback routes only fire when no other (non-fallback) route matched.
|
||||
# - id: fallback-all
|
||||
# name: "Fallback: everything else"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue