Skip to main content
Module

x/discordeno/mod.ts>getGuildTemplate

Discord API library for Deno
Go to Latest
function getGuildTemplate
import { getGuildTemplate } from "https://deno.land/x/discordeno@17.2.0/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.