Class SubcommandData

    • Constructor Detail

      • SubcommandData

        public SubcommandData​(@Nonnull
                              String name,
                              @Nonnull
                              String description)
        Create an subcommand builder.
        Parameters:
        name - The subcommand name, 1-32 lowercase alphanumeric characters
        description - The subcommand description, 1-100 characters
        Throws:
        IllegalArgumentException - If any of the following requirements are not met
        • The name must be lowercase alphanumeric (with dash), 1-32 characters long
        • The description must be 1-100 characters long