Module

x/discordeno/mod.ts>createGuildFromTemplate

Discord API library for Deno
Extremely Popular
Go to Latest
function createGuildFromTemplate
import { createGuildFromTemplate } from "https://dotland.deno.dev/x/discordeno@17.2.0/mod.ts";

Creates a guild from a template.

Parameters

bot: Bot
  • The bot instance to use to make the request.
templateCode: string
  • The code of the template.
options: CreateGuildFromTemplate
  • The parameters for the creation of the guild.

Returns

Promise<Guild>

An instance of the created {@link Guild}.