1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-09-29 13:48:53 +00:00

api: Omitted SearchData redundant option type

This commit is contained in:
diamondburned 2021-06-26 17:04:00 -07:00
parent 7bc2be1498
commit d4c66d4971

View file

@ -3,11 +3,10 @@ package api
import (
"github.com/diamondburned/arikawa/v3/discord"
"github.com/diamondburned/arikawa/v3/utils/httputil"
"github.com/diamondburned/arikawa/v3/utils/json/option"
)
type SearchData struct {
Offset option.Uint `schema:"offset,omitempty"`
Offset uint `schema:"offset,omitempty"`
Content string `schema:"content,omitempty"`
Has string `schema:"has,omitempty"`
SortBy string `schema:"sort_by,omitempty"`