Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Extremely Popular
Go to Latest
function getApplicationCommandPermission
import { getApplicationCommandPermission } from "https://deno.land/x/discordeno@13.0.0-rc45/helpers/interactions/commands/mod.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