Skip to main content
Module

x/biscuit/mod.ts>DiscordApplicationCommandPermissions

A Discord library that is easy to use but reliable on its core 🥠
Latest
interface DiscordApplicationCommandPermissions
import { type DiscordApplicationCommandPermissions } from "https://deno.land/x/biscuit@0.2.4/mod.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

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