mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-21 17:40:12 +01:00
Add discord notification service. Close #143
This commit is contained in:
parent
2cfbebb0e9
commit
fd106e7b00
4 changed files with 129 additions and 16 deletions
|
|
@ -26,6 +26,8 @@ func NewNotifier(c *cli.Context) *Notifier {
|
|||
switch t {
|
||||
case emailType:
|
||||
tn = newEmailNotifier(c)
|
||||
case discordType:
|
||||
tn = newDiscordNotifier(c)
|
||||
default:
|
||||
log.Fatalf("Unknown notification type %q", t)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue