Skip to main content
Latest
interface DiscordGuildApplicationCommandPermissions
Re-export
import { type DiscordGuildApplicationCommandPermissions } from "https://deno.land/x/discordeno@18.0.1/mod.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: DiscordApplicationCommandPermissions[]

Permissions for the command in the guild, max of 100