You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/model/types.go
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,8 @@ type BasicParameters struct {
8
8
}
9
9
10
10
typeSlackParametersstruct {
11
-
SlackChannelIDstring`short:"c" long:"channel-id" description:"The ID of the slack channel where snapshots will be posted if provided" required:"false"`
12
-
SlackBotTokenstring`short:"b" long:"bot-token" description:"The token for the slack bot that will upload a snapshot if provided" required:"false" default:"token"`
11
+
SlackChannelIDstring`short:"c" long:"channel-id" description:"The ID of the slack channel where snapshots will be posted if provided" required:"true"`
12
+
SlackBotTokenstring`short:"b" long:"bot-token" description:"The token for the slack bot that will upload a snapshot if provided" required:"true"`
13
13
MessageTemplatestring`short:"m" long:"message-template" description:"The message template in JSON format to use for notifications instead of the default one" required:"false" default:"Motion detected at %s"`
0 commit comments