expandSlashCommandShorthand takes a command name and returns a map that represents the expanded slash_command + workflow_dispatch configuration.
(commandName string)
| 32 | // expandSlashCommandShorthand takes a command name and returns a map that represents |
| 33 | // the expanded slash_command + workflow_dispatch configuration. |
| 34 | func expandSlashCommandShorthand(commandName string) map[string]any { |
| 35 | slashCommandParserLog.Printf("Expanding slash command shorthand: /%s -> slash_command + workflow_dispatch", commandName) |
| 36 | return map[string]any{ |
| 37 | "slash_command": commandName, |
| 38 | "workflow_dispatch": nil, |
| 39 | } |
| 40 | } |