Latest
function createGuildFromTemplate
import { createGuildFromTemplate } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/fileloader/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.