Clarify that permissions can apply on application-level (#2289)

This commit is contained in:
LTS20050703
2022-06-15 09:57:05 -04:00
committed by GitHub
parent 9e61b7366f
commit 09212e53c1
+1 -1
View File
@@ -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;