$getApplicationCommandOptions
$getApplicationCommandOptions
will return the ID of a given application command.
Usage
$getApplicationCommandOptions[name;type?]
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 |