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

x/discord_api_types/payloads/v9/interactions.ts>APIApplicationCommandPermission

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface APIApplicationCommandPermission
import { type APIApplicationCommandPermission } from "https://deno.land/x/discord_api_types@0.37.16/payloads/v9/interactions.ts";

Properties

The id of the role, user or channel. Can also be a permission constant

Role, user or channel

permission: boolean

true to allow, false, to disallow