Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/discordeno_patched/helpers/mod.ts>createGuildFromTemplate

Discord API library for Node and Deno
Go to Latest
function createGuildFromTemplate
import { createGuildFromTemplate } from "https://deno.land/x/discordeno_patched@18.0.2/helpers/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.
  • The parameters for the creation of the guild.

Returns

Promise<Guild>

An instance of the created Guild.