Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
function getApplicationCommandPermission
import { getApplicationCommandPermission } from "https://deno.land/x/discordeno@13.0.0-rc45/plugins/permissions/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