Module

x/discordeno/mod.ts>getGuildTemplate

Discord API library for Deno
Latest
function getGuildTemplate
import { getGuildTemplate } from "https://dotland.deno.dev/x/discordeno@18.0.1/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 {@link Template}.