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

x/natico/examples/deps.ts>upsertApplicationCommands

A powerful and customizable framework for Discordeno
Latest
function upsertApplicationCommands
import { upsertApplicationCommands } from "https://deno.land/x/natico@4.0.0-pre.4/examples/deps.ts";

Bulk edit existing application commands. If a command does not exist, it will create it.

NOTE: Any application commands that are not specified in this function will be deleted. If you don't provide the commandId and rename your command, the command gets a new Id.

Parameters

bot: Bot
optional
guildId: bigint