$getCommandOption
Retrieves the value of a specific option from a slash command.
$getCommandOption[type;Option Name]
Usage: Option Types
This function requires you to specify the data type of the option you're trying to retrieve. Here's a list of valid option types:
string
: For text-based input.number
: For numerical input (integers or decimals).boolean
: For true/false values.channel
: For channel mentions/IDs.role
: For role mentions/IDs.mentionable
: For user or role mentions/IDs.user
: For user mentions/IDs.