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

x/oasis/tests/deps.ts>getApplicationCommandPermission

An object oriented Discordeno framework
Latest
function getApplicationCommandPermission
import { getApplicationCommandPermission } from "https://deno.land/x/oasis@2.1.0/tests/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