Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/discordeno/helpers/templates/mod.ts

Discord API library for Deno
Go to Latest
import * as discordeno from "https://deno.land/x/discordeno@13.0.0-rc45/helpers/templates/mod.ts";

Functions

Create a new guild based on a template NOTE: This endpoint can be used only by bots in less than 10 guilds.

Creates a template for the guild. Requires the MANAGE_GUILD permission.

Deletes a template from a guild. Requires the MANAGE_GUILD permission.

Edit a template's metadata. Requires the MANAGE_GUILD permission.

Returns an array of templates. Requires the MANAGE_GUILD permission.

Returns the guild template if it exists

Syncs the template to the guild's current state. Requires the MANAGE_GUILD permission.