From fbd9b9b853ac6c0b8958fc164023ce09fc18623f Mon Sep 17 00:00:00 2001 From: Benbebop Date: Sat, 6 Jan 2024 16:36:54 -0500 Subject: [PATCH] api: add ID param to CreateCommandData --- api/application.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/application.go b/api/application.go index 5bfd08e3..167b3b51 100644 --- a/api/application.go +++ b/api/application.go @@ -20,7 +20,9 @@ func (c *Client) CurrentApplication() (*discord.Application, error) { } // https://discord.com/developers/docs/interactions/application-commands#create-global-application-command +// https://discord.com/developers/docs/interactions/application-commands#bulk-overwrite-guild-application-commands type CreateCommandData struct { + ID discord.CommandID `json:"id,omitempty"` Name string `json:"name"` NameLocalizations discord.StringLocales `json:"name_localizations,omitempty"` Description string `json:"description"`