Class LegacyGuildTemplateEditSpec

    • Constructor Detail

      • LegacyGuildTemplateEditSpec

        public LegacyGuildTemplateEditSpec()
    • Method Detail

      • setName

        public LegacyGuildTemplateEditSpec setName​(String name)
        Sets the name of the template.
        Parameters:
        name - The name for the template.
        Returns:
        This spec.
      • setDescription

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

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