Skip to main content
Latest
function getGuildTemplate
import { getGuildTemplate } from "https://deno.land/x/discordeno@18.0.1/helpers/templates/mod.ts";

Gets a template by its code.

Parameters

bot: Bot
  • The bot instance to use to make the request.
templateCode: string
  • The code of the template to get.

Returns

Promise<Template>

An instance of Template.