diff --git a/pkg/utils/utils.go b/pkg/utils/utils.go index 731b8a5..098c6ac 100644 --- a/pkg/utils/utils.go +++ b/pkg/utils/utils.go @@ -105,6 +105,11 @@ func ParseSilenceOptions(query string, c tele.Context) (*types.Silence, string) matchers := types.QueryMatcherFromKeyValueString(rest) for _, matcher := range matchers { + if matcher.Key == "comment" { + silence.Comment = matcher.Value + continue + } + matcherParsed := types.SilenceMatcher{ Name: matcher.Key, Value: matcher.Value,