argsFromCommandOptions
argsFromCommandOptions(
options,restLast?):PrefixArgSpec[]
Defined in: packages/utils/src/args.ts:268
Argument specs from a slash command’s options, so one definition serves both
/command and the prefix command. Subcommands and attachments are left out.
Parameters
Section titled “Parameters”options
Section titled “options”readonly object[]
The command’s (or subcommand’s) options as sent to Discord.
restLast?
Section titled “restLast?”boolean = false
Read the last string option as the rest of the message (handy for reasons).