From da7ac5d6cfd947118ce65c378874e2574a22446e Mon Sep 17 00:00:00 2001 From: sebm253 <42180891+sebm253@users.noreply.github.com> Date: Sun, 1 Dec 2024 17:23:49 +0100 Subject: [PATCH] add "docs" lol --- rest/query_params.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rest/query_params.go b/rest/query_params.go index c18b99b0..9d17c83d 100644 --- a/rest/query_params.go +++ b/rest/query_params.go @@ -4,6 +4,8 @@ import ( "github.com/disgoorg/disgo/discord" ) +// QueryParams serves as a generic interface for implementations of rest endpoint query parameters. type QueryParams interface { + // ToQueryValues transforms fields from the QueryParams interface implementations into discord.QueryValues. ToQueryValues() discord.QueryValues }