Package discord4j.core.spec
Class GuildTemplateCreateSpec
- java.lang.Object
-
- discord4j.core.spec.GuildTemplateCreateSpec
-
-
Constructor Summary
Constructors Constructor Description GuildTemplateCreateSpec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description discord4j.discordjson.json.TemplateCreateRequest
asRequest()
GuildTemplateCreateSpec
setDescription(String description)
Sets the description of the template.GuildTemplateCreateSpec
setName(String name)
Sets the name of the template.
-
-
-
Method Detail
-
setName
public GuildTemplateCreateSpec setName(String name)
Sets the name of the template.- Parameters:
name
- The name for the template.- Returns:
- This spec.
-
setDescription
public GuildTemplateCreateSpec setDescription(String description)
Sets the description of the template.- Parameters:
description
- The description for the template.- Returns:
- This spec.
-
-