Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
function createGuildFromTemplate
import { createGuildFromTemplate } from "https://deno.land/x/discordeno@17.2.0/plugins/validations/deps.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.