Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/natico/examples/deps.ts>getApplicationCommandPermission

A powerful and customizable framework for Discordeno
Latest
function getApplicationCommandPermission
import { getApplicationCommandPermission } from "https://deno.land/x/natico@4.0.0-pre.4/examples/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