Interface CommandData

All Superinterfaces:
SerializableData
All Known Subinterfaces:
CommandCreateAction, SlashCommandData

public interface CommandData extends SerializableData
Builder for Application Commands.
Use the factory methods provided by Commands to create instances of this interface.
See Also:
  • Field Details

    • MAX_NAME_LENGTH

      static final int MAX_NAME_LENGTH
      The maximum length the name of a command can be. (32)
      See Also:
    • MAX_DESCRIPTION_LENGTH

      static final int MAX_DESCRIPTION_LENGTH
      The maximum length the description of a command can be. (100)
      See Also:
    • MAX_OPTIONS

      static final int MAX_OPTIONS
      The maximum amount of options/subcommands/groups that can be added to a command or subcommand. (25)
      See Also:
  • Method Details