$getSlashCommandData

Fetches data about the specified slash command.

Usage

$getSlashCommandData[guildID | global;slashCommandID;property]

This function has three params.

ParamDescriptionTypeRequired

guildID | global

Type of the slash command, either global or a guild ID.

Snowflake | String

Yes

slashCommandID

The slash command to get the data for.

Snowflake

Yes

[property

The data to return about the slash command.

Yes

Last updated