Skip to content

$deleteApplicationCommand

$deleteApplicationCommand will delete an application command.

Usage

$deleteApplicationCommand[guildID/global;id]

Parameters

FieldTypeDescriptionRequired
guildID/globalstring, numberApplication command type.
1. global
2. specific guildID
true
idnumberApplication command ID which will be deleted.true

Example(s)

1
client.command({
2
name: "deleteApplicationCommand",
3
code: `
4
$deleteApplicationCommand[$guildID;$getApplicationCommandID[application-command-name;$guildID]]
5
`
6
});