Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
interface DiscordApplicationCommandPermissions
import { type DiscordApplicationCommandPermissions } from "https://deno.land/x/discordeno@17.2.0/template/beginner/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