Annotation Interface CommandLoader


@Retention(RUNTIME) @Target(TYPE) @Documented public @interface CommandLoader
Annotation targeting command Types. Set the commandName() argument to the command name IE: if the command is /help -> @CommandLoader(commandName = "help").
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    @NotNull String
    This is a required field.
  • Element Details

    • commandName

      @NotNull @NotNull String commandName
      This is a required field.
      Returns:
      a string representing the commands name.