From 4a68cbc589360d0cfa65b25127cdae128f3ee068 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Wed, 2 Sep 2026 14:26:02 +0100 Subject: [PATCH] fix: allow descriptions for primary entry point commands (#1785) --- deno/rest/v10/interactions.ts | 1 + deno/rest/v9/interactions.ts | 1 + rest/v10/interactions.ts | 1 + rest/v9/interactions.ts | 1 + 4 files changed, 4 insertions(+) diff --git a/deno/rest/v10/interactions.ts b/deno/rest/v10/interactions.ts index 91d8319b..2e3f5168 100644 --- a/deno/rest/v10/interactions.ts +++ b/deno/rest/v10/interactions.ts @@ -92,6 +92,7 @@ export interface RESTPostAPIContextMenuApplicationCommandsJSONBody extends RESTP */ export interface RESTPostAPIPrimaryEntryPointApplicationCommandJSONBody extends RESTPostAPIBaseApplicationCommandsJSONBody { type: ApplicationCommandType.PrimaryEntryPoint; + description?: string | undefined; } /** diff --git a/deno/rest/v9/interactions.ts b/deno/rest/v9/interactions.ts index 1c93189f..754a2009 100644 --- a/deno/rest/v9/interactions.ts +++ b/deno/rest/v9/interactions.ts @@ -92,6 +92,7 @@ export interface RESTPostAPIContextMenuApplicationCommandsJSONBody extends RESTP */ export interface RESTPostAPIPrimaryEntryPointApplicationCommandJSONBody extends RESTPostAPIBaseApplicationCommandsJSONBody { type: ApplicationCommandType.PrimaryEntryPoint; + description?: string | undefined; } /** diff --git a/rest/v10/interactions.ts b/rest/v10/interactions.ts index 8e54b329..d98e1e2c 100644 --- a/rest/v10/interactions.ts +++ b/rest/v10/interactions.ts @@ -92,6 +92,7 @@ export interface RESTPostAPIContextMenuApplicationCommandsJSONBody extends RESTP */ export interface RESTPostAPIPrimaryEntryPointApplicationCommandJSONBody extends RESTPostAPIBaseApplicationCommandsJSONBody { type: ApplicationCommandType.PrimaryEntryPoint; + description?: string | undefined; } /** diff --git a/rest/v9/interactions.ts b/rest/v9/interactions.ts index d6b27892..22f081b6 100644 --- a/rest/v9/interactions.ts +++ b/rest/v9/interactions.ts @@ -92,6 +92,7 @@ export interface RESTPostAPIContextMenuApplicationCommandsJSONBody extends RESTP */ export interface RESTPostAPIPrimaryEntryPointApplicationCommandJSONBody extends RESTPostAPIBaseApplicationCommandsJSONBody { type: ApplicationCommandType.PrimaryEntryPoint; + description?: string | undefined; } /**