add subcommand support

This commit is contained in:
jacks0n9 2023-11-02 19:02:08 -07:00
parent 2e4d87ee65
commit b9f8d56cfe
1 changed files with 4 additions and 3 deletions

View File

@ -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 {