Browse Source

Update result struct to include stuff i forgot

main
Sam 6 years ago
parent
commit
9e443921c4
  1. 3
      types.go

3
types.go

@ -151,6 +151,9 @@ type pagination struct { @@ -151,6 +151,9 @@ type pagination struct {
type result struct {
Messages []messages `json:"messages,omitempty"`
Pagination pagination `json:"pagination"`
Message string `json:"message"`
ID int `json:"id"`
Ratelimits []rateLimits `json:"ratelimits"`
}
type messages struct {
Msg msg `json:"msg,omitempty"`

Loading…
Cancel
Save