Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oasis/packages/deps.ts>DiscordApplicationCommandPermissions

An object oriented Discordeno framework
Latest
interface DiscordApplicationCommandPermissions
import { type DiscordApplicationCommandPermissions } from "https://deno.land/x/oasis@2.1.0/packages/deps.ts";

Properties

id: string

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

type: ApplicationCommandPermissionTypes

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

permission: boolean

true to allow, false, to disallow