createGuildTemplate

Creates a template given guildId configured by request

Returns created DiscordTemplate.


inline suspend fun createGuildTemplate(guildId: Snowflake, name: String, builder: GuildTemplateCreateBuilder.() -> Unit): DiscordTemplate(source)

Creates a guild template with name inside the guild with guildId configured by builder.

Returns the new DiscordTemplate.