Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/wackford/discordeno.ts>DiscordApplicationCommandPermissions

The wackiest Discord bot framework for Deno powered by Discordeno
Go to Latest
interface DiscordApplicationCommandPermissions
import { type DiscordApplicationCommandPermissions } from "https://deno.land/x/wackford@v0.0.4/discordeno.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