- SlashOption(options, transformer?): ParameterDecoratorEx
Parameters
- options:
| SlashCommandAttachmentOption
| SlashCommandBooleanOption
| SlashCommandChannelOption
| SlashCommandIntegerOption
| SlashCommandMentionableOption
| SlashCommandNumberOption
| SlashCommandRoleOption
| SlashCommandStringOption
| SlashCommandUserOption Optional
transformer: TransformerFunction
- SlashOption<T, TD>(options, transformer?): ParameterDecoratorEx
Type Parameters
- T extends string
- TD extends string
Add a slash command option
Param: options
Slash option options
View Documentation