Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/harmony/src/interactions/applicationCommand.ts>SlashCommandsManager#edit

An easy to use Discord API Library for Deno.
Latest
method SlashCommandsManager.prototype.edit
import { SlashCommandsManager } from "https://deno.land/x/harmony@v2.9.1/src/interactions/applicationCommand.ts";

Edit a Slash Command (global or Guild)

Parameters

id: string
data: ApplicationCommandPartial
optional
guild: Guild | string

Returns

Promise<ApplicationCommand>