Add missing fields to Application struct
This commit is contained in:
parent
ba9606f415
commit
f60eda8bcb
1 changed files with 12 additions and 7 deletions
|
@ -21,7 +21,12 @@ type Application struct {
|
||||||
Icon string `json:"icon,omitempty"`
|
Icon string `json:"icon,omitempty"`
|
||||||
Secret string `json:"secret,omitempty"`
|
Secret string `json:"secret,omitempty"`
|
||||||
RedirectURIs *[]string `json:"redirect_uris,omitempty"`
|
RedirectURIs *[]string `json:"redirect_uris,omitempty"`
|
||||||
|
BotRequireCodeGrant bool `json:"bot_require_code_grant,omitempty"`
|
||||||
|
BotPublic bool `json:"bot_public,omitempty"`
|
||||||
|
RPCApplicationState int `json:"rpc_application_state,omitempty"`
|
||||||
|
Flags int `json:"flags,omitempty"`
|
||||||
Owner *User `json:"owner"`
|
Owner *User `json:"owner"`
|
||||||
|
Bot *User `json:"bot"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Application returns an Application structure of a specific Application
|
// Application returns an Application structure of a specific Application
|
||||||
|
|
Loading…
Reference in a new issue