mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
Clarify that permissions can apply on application-level (#2289)
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user