import { GuildTemplateManager } from "https://deno.land/x/higa@0.1.2/deno/client/index.ts";
Constructors
Properties
readonly
version: APIVersionsAPI Version
Methods
createGuildFromGuildTemplate(templateCode: string, options: CreateGuildFromTemplateOptions): Promise<Guild>
Create a new guild from a guild template.
createGuildTemplate(guildId: string, options: GuildTemplateOptions): Promise<GuildTemplate>
Creates a guild template
deleteGuildTemplate(guildId: string, templateCode: string): Promise<void>
Deletes a guild template
getGuildTemplate(templateCode: string): Promise<GuildTemplate>
Get the guild template.
getGuildTemplates(guildId: string): Promise<GuildTemplate[]>
Get the templates for a guild
modifyGuildTemplate(): Promise<GuildTemplate>
Modify a guild template
syncGuildTemplate(guildId: string, templateCode: string): Promise<GuildTemplate>
Syncs a guild template