Skip to main content
The Deno 2 Release Candidate is here
Learn more
Extremely Popular
Go to Latest
function getApplicationCommandPermission
import { getApplicationCommandPermission } from "https://deno.land/x/discordeno@13.0.0-rc45/template/minimal/deps.ts";

Fetches command permissions for a specific command for your application in a guild. Returns a GuildApplicationCommandPermissions object.

Parameters

bot: Bot
guildId: bigint
commandId: bigint