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

x/oasis/tests/deps.ts>upsertApplicationCommands

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