From 09212e53c1ab77745b82add55fdc4b325084f7d0 Mon Sep 17 00:00:00 2001 From: LTS20050703 <87189679+lts20050703@users.noreply.github.com> Date: Wed, 15 Jun 2022 20:57:05 +0700 Subject: [PATCH] Clarify that permissions can apply on application-level (#2289) --- types/discord.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/discord.ts b/types/discord.ts index 52dfb5ed6..3a332029e 100644 --- a/types/discord.ts +++ b/types/discord.ts @@ -1772,7 +1772,7 @@ export interface DiscordApplicationCommandOptionChoice { /** https://discord.com/developers/docs/interactions/slash-commands#guildapplicationcommandpermissions */ export interface DiscordGuildApplicationCommandPermissions { - /** ID of the command */ + /** ID of the command or the application ID. When the `id` field is the application ID instead of a command ID, the permissions apply to all commands that do not contain explicit overwrites. */ id: string; /** ID of the application the command belongs to */ application_id: string;