Add option to mention specific user for Discord notifier (#188)

This commit is contained in:
CrazyMax
2020-10-07 22:40:46 +02:00
parent 65182db118
commit b57d49dae2
6 changed files with 16 additions and 3 deletions

View File

@@ -62,6 +62,7 @@ func TestLoadFile(t *testing.T) {
},
Discord: &model.NotifDiscord{
WebhookURL: "https://discordapp.com/api/webhooks/1234567890/Abcd-eFgh-iJklmNo_pqr",
Mention: "here",
Timeout: utl.NewDuration(10 * time.Second),
},
Gotify: &model.NotifGotify{