Skip to main content
Module

x/discordeno/mod.ts>createGuildFromTemplate

Discord API library for Deno
Latest
function createGuildFromTemplate
import { createGuildFromTemplate } from "https://deno.land/x/discordeno@18.0.1/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 Guild.