Interface ApplicationCommandData


  • @Immutable
    public interface ApplicationCommandData
    • Method Detail

      • builder

        static discord4j.discordjson.json.ImmutableApplicationCommandData.Builder builder()
      • id

        String id()
        unique id of the command
      • applicationId

        String applicationId()
        unique id of the parent application
      • name

        String name()
        1-32 character name
      • description

        String description()
        1-100 character description
      • defaultPermission

        discord4j.discordjson.possible.Possible<Boolean> defaultPermission()
        whether the command is enabled by default when the app is added to a guild (default to true)