Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
function createGuildFromTemplate
import { createGuildFromTemplate } from "https://deno.land/x/discordeno@18.0.1/template/beginner/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.
options: CreateGuildFromTemplate
  • The parameters for the creation of the guild.

Returns

Promise<Guild>

An instance of the created Guild.