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