Annotation Interface CommandOption


Add option to command
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
     
    net.dv8tion.jda.api.interactions.commands.OptionType
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
     
    boolean
     
  • Element Details

    • type

      net.dv8tion.jda.api.interactions.commands.OptionType type
    • name

      String name
    • description

      String description
    • required

      boolean required
      Default:
      false
    • autoComplete

      boolean autoComplete
      Default:
      false