()
| 13 | } |
| 14 | |
| 15 | func (s SlashCommandSpec) Names() []string { |
| 16 | names := make([]string, 0, 1+len(s.Aliases)) |
| 17 | names = append(names, s.Primary) |
| 18 | names = append(names, s.Aliases...) |
| 19 | return names |
| 20 | } |
| 21 | |
| 22 | func (s SlashCommandSpec) HelpLabel() string { |
| 23 | names := s.Names() |
no outgoing calls
no test coverage detected