Annotation Interface Param
Annotation used to add a name and description to slash command parameters.
- See Also:
-
Optional Element Summary
-
Element Details
-
value
String valueReturns the description of the parameter. This value will only be used for slash commands.- Returns:
- the description of the parameter
- Default:
""
-
name
String nameReturns the name of the parameter. Use the compiler flag-parameters
to have the parameter name resolved at runtime making this field redundant.- Returns:
- the name of the parameter
- Default:
""
-