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
payload: ApplicationCommandPartial[]
Returns
Promise<ApplicationCommandPayload[]>