Skip to main content
Module

x/harmony/mod.ts>RESTEndpoints#bulkOverwriteGlobalApplicationCommands

An easy to use Discord API Library for Deno.
Go to Latest
method RESTEndpoints.prototype.bulkOverwriteGlobalApplicationCommands
Re-export
import { RESTEndpoints } from "https://deno.land/x/harmony@v2.9.0/mod.ts";

Takes a list of application commands, overwriting existing commands that are registered globally for this application. Updates will be available in all guilds after 1 hour. Returns 200 and a list of ApplicationCommand objects. Commands that do not already exist will count toward daily application command create limits.

Parameters

applicationId: string