Skip to main content
Module

x/wackford/discordeno.ts>getGuildApplicationCommands

The wackiest Discord bot framework for Deno powered by Discordeno
Go to Latest
function getGuildApplicationCommands
import { getGuildApplicationCommands } from "https://deno.land/x/wackford@v0.0.3/discordeno.ts";

Gets the list of application commands registered by your bot in a guild.

Parameters

bot: Bot
  • The bot instance to use to make the request.
guildId: BigString
  • The ID of the guild the commands are registered in.

Returns

Promise<Collection<bigint, ApplicationCommand>>

A collection of ApplicationCommand objects assorted by command ID.