Skip to main content
Module

x/natico/discordeno_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/discordeno_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