createGuildFromTemplate
suspend fun createGuildFromTemplate(code: String, request: GuildFromTemplateCreateRequest): DiscordGuild(source)
Create a new guild based on a template with the given code and configured by the request, returns the created guild.
inline suspend fun createGuildFromTemplate(code: String, name: String, builder: GuildFromTemplateCreateBuilder.() -> Unit): DiscordGuild(source)
Create a new guild with a name based on a template with the given code and configured by the builder, returns the created guild.