From 4bf485ba8409d5933ca606c422f16c45aa68c22d Mon Sep 17 00:00:00 2001 From: rigormorrtiss Date: Sat, 5 Jun 2021 12:13:58 +0400 Subject: [PATCH] add: ApplicationCommand#guildId (#1017) --- src/types/interactions/commands/application_command.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/types/interactions/commands/application_command.ts b/src/types/interactions/commands/application_command.ts index ac1d5db22..86fb3fc32 100644 --- a/src/types/interactions/commands/application_command.ts +++ b/src/types/interactions/commands/application_command.ts @@ -6,6 +6,8 @@ export interface ApplicationCommand { id: string; /** Unique id of the parent application */ applicationId: string; + /** Guild id of the command, if not global */ + guildId?: string; /** 1-32 character name matching lowercase `^[\w-]{1,32}$` */ name: string; /** 1-100 character description */