Command Options
Each function takes the following parameters:
- description: The description of the option.
- required?: If the option is required.
- value?: Callback where you can filter the value sent by discord before it reaches the main command. How to use here
Type Options
createStringOption
createIntegerOption
createNumberOption
createChannelOption
createBooleanOption
createUserOption
createRoleOption
createMentionableOption
createAttachmentOption
Using the value
callback
A briefly example was given in Creating your first command