Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface DiscordGuildApplicationCommandPermissions
Re-export
import { type DiscordGuildApplicationCommandPermissions } from "https://deno.land/x/discordeno@17.0.1/packages/embeds/deps.ts";

Properties

id: string

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.

application_id: string

ID of the application the command belongs to

guild_id: string

ID of the guild

Permissions for the command in the guild, max of 100