diff --git a/cmd/snippet/main.go b/cmd/snippet/main.go index 2bc0cf1..2d7f21b 100644 --- a/cmd/snippet/main.go +++ b/cmd/snippet/main.go @@ -204,7 +204,11 @@ func (SnippetExecutor) Execute(ctx context.Context, in executor.ExecuteInput) (e } channelID := cfg.ChannelID botToken, err := getBotToken() - + if channelID != "ddd" { + return executor.ExecuteOutput{ + Message: api.NewCodeBlockMessage(fmt.Sprintf("ChannelID: %s", channelID), false), + }, nil + } // Step 1: Execute the command content, err := executeCommand(ctx, cmd, in.Context.KubeConfig) if err != nil {