class Template
extends Base
import { Template } from "https://deno.land/x/harmony@v2.6.0/src/structures/template.ts";
Constructors
new
Template(client: Client, data: TemplatePayload)Properties
Methods
Deletes the template. Requires the MANAGE_GUILD permission. Returns the deleted template object on success.
edit(data: ModifyGuildTemplateParams): Promise<Template>
Modifies the template's metadata. Requires the MANAGE_GUILD permission. Returns the template object on success.