Skip to content

Commit

Permalink
bot: add cluster scan help docs (#1451)
Browse files Browse the repository at this point in the history
  • Loading branch information
vaijab authored May 28, 2024
1 parent a3f727e commit aca7405
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/bot/interactive/help.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (h *HelpMessage) Build(init bool) CoreMessage {
}

type getter func() []api.Section
var sections = []getter{
sections := []getter{
h.botkubeCloud,
h.aiPlugin,
h.basicCommands,
Expand Down Expand Up @@ -209,10 +209,10 @@ func (h *HelpMessage) aiPlugin() []api.Section {
{
Base: api.Base{
Header: "🤖 AI powered Kubernetes assistant",
Description: fmt.Sprintf("`%s ai` use natural language to ask any questions", api.MessageBotNamePlaceholder),
Description: fmt.Sprintf("`%s ai` use natural language to ask any questions\n`%s ai scan` perform a cluster-wide scan for issues", api.MessageBotNamePlaceholder, api.MessageBotNamePlaceholder),
},
Buttons: []api.Button{
h.btnBuilder.ForCommandWithoutDesc("Ask a question", "ai hi!", api.ButtonStylePrimary),
h.btnBuilder.ForCommandWithoutDesc("Cluster Scan", "ai scan", api.ButtonStylePrimary),
},
},
}
Expand Down

0 comments on commit aca7405

Please sign in to comment.