add subcommand support
This commit is contained in:
parent
2e4d87ee65
commit
b9f8d56cfe
|
@ -31,9 +31,10 @@ type commandRunData struct {
|
|||
Options []CommandRunOption `json:"options"`
|
||||
}
|
||||
type CommandRunOption struct {
|
||||
Type int `json:"type"`
|
||||
Name string `json:"name"`
|
||||
Value string `json:"value"`
|
||||
Type int `json:"type"`
|
||||
Name string `json:"name"`
|
||||
Value string `json:"value"`
|
||||
Options []CommandRunOption `json:"options"`
|
||||
}
|
||||
|
||||
type CommandSearchResponse struct {
|
||||
|
|
Loading…
Reference in New Issue