Add discord notification service. Close #143

This commit is contained in:
max 2018-02-17 00:07:20 +02:00
parent 2cfbebb0e9
commit fd106e7b00
4 changed files with 129 additions and 16 deletions

View file

@ -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)
}