Annotation Type ProxiedBy


@Target(METHOD) @Retention(RUNTIME) public @interface ProxiedBy
Creates a command proxy for the command. This is similar to Command.Builder.proxies(Command).
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    @NonNull String
    Syntax of the proxying command
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Whether or not the proxying command should be Hidden
  • Element Details

    • value

      @NonNull String value
      Syntax of the proxying command
      Returns:
      Proxy syntax
    • hidden

      boolean hidden
      Whether or not the proxying command should be Hidden
      Returns:
      true if the proxying command should be hidden, false if not
      Default:
      false