$getApplicationCommandID
$getApplicationCommandID
will return the ID of a given application command.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
name | string | Name of the application command. | true |
type? | string | Application command type. 1. global (default) 2. guildID (specific guild ID) | false |
Example(s)
This will return the ID of an application command called “example”, (if any):