mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-11-30 18:53:30 +00:00
api: Omitted SearchData redundant option type
This commit is contained in:
parent
7bc2be1498
commit
d4c66d4971
|
@ -3,11 +3,10 @@ package api
|
||||||
import (
|
import (
|
||||||
"github.com/diamondburned/arikawa/v3/discord"
|
"github.com/diamondburned/arikawa/v3/discord"
|
||||||
"github.com/diamondburned/arikawa/v3/utils/httputil"
|
"github.com/diamondburned/arikawa/v3/utils/httputil"
|
||||||
"github.com/diamondburned/arikawa/v3/utils/json/option"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type SearchData struct {
|
type SearchData struct {
|
||||||
Offset option.Uint `schema:"offset,omitempty"`
|
Offset uint `schema:"offset,omitempty"`
|
||||||
Content string `schema:"content,omitempty"`
|
Content string `schema:"content,omitempty"`
|
||||||
Has string `schema:"has,omitempty"`
|
Has string `schema:"has,omitempty"`
|
||||||
SortBy string `schema:"sort_by,omitempty"`
|
SortBy string `schema:"sort_by,omitempty"`
|
||||||
|
|
Loading…
Reference in a new issue