$getSlashCommandOption
Fetches data about the specified slash command's option.
Usage
This function has four params.
Params | Description | Type | Required |
---|---|---|---|
guildID | global | Type of the slash command, either | Snowflake | String | Yes |
slashCommandID | The slash command to get the option from. | Snowflake | Yes |
index | The index of this option. | Integer | Yes |
property | The data to get from this slash command option. | Yes |
Last updated