Class LegacyGuildTemplateCreateSpec

    • Constructor Detail

      • LegacyGuildTemplateCreateSpec

        public LegacyGuildTemplateCreateSpec()
    • Method Detail

      • setDescription

        public LegacyGuildTemplateCreateSpec setDescription​(String description)
        Sets the description of the template.
        Parameters:
        description - The description for the template.
        Returns:
        This spec.
      • asRequest

        public discord4j.discordjson.json.TemplateCreateRequest asRequest()
        Specified by:
        asRequest in interface LegacySpec<discord4j.discordjson.json.TemplateCreateRequest>