interface APITemplate

external
export interface APITemplate

https://discord.com/developers/docs/resources/guild-template#guild-template-object

external
code : string

The template code (unique ID)

external
created_at : string

When this template was created

external
creator_id : Snowflake

The ID of the user who created the template

external
creator : APIUser

The user who created the templateSee https://discord.com/developers/docs/resources/user#user-object

external
description : string | null

The description for the template

external
is_dirty : boolean | null

Whether the template has unsynced changes

external
name : string

Template name

external
serialized_source_guild : APITemplateSerializedSourceGuild

The guild snapshot this template contains

external
source_guild_id : Snowflake

The ID of the guild this template is based on

external
updated_at : string

When this template was last synced to the source guild

external
usage_count : number

Number of times this template has been used