Latest
interface DiscordApplicationCommandPermissions
import { type DiscordApplicationCommandPermissions } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/helpers/deps.ts";

Properties

id: string

ID of the role, user, or channel. It can also be a permission constant

ApplicationCommandPermissionTypes.Role, ApplicationCommandPermissionTypes.User, or ApplicationCommandPermissionTypes.Channel

permission: boolean

true to allow, false, to disallow