Skip to main content
Module

x/harmony/mod.ts>RESTEndpoints#createGuildTemplate

An easy to use Discord API Library for Deno.
Go to Latest
method RESTEndpoints.prototype.createGuildTemplate
Re-export
import { RESTEndpoints } from "https://deno.land/x/harmony@v2.9.0/mod.ts";

Creates a template for the guild. Requires the MANAGE_GUILD permission. Returns the created template object on success.

Parameters

guildId: string
payload: { name: string; description?: string | null; }