Skip to main content
Version: 0.37.54

APITemplate

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

Index

Properties

code

code: string

The template code (unique ID)

created_at

created_at: string

When this template was created

creator

creator: APIUser

creator_id

creator_id: string

The ID of the user who created the template

description

description: null | string

The description for the template

is_dirty

is_dirty: null | boolean

Whether the template has unsynced changes

name

name: string

Template name

serialized_source_guild

serialized_source_guild: APITemplateSerializedSourceGuild

The guild snapshot this template contains

source_guild_id

source_guild_id: string

The ID of the guild this template is based on

updated_at

updated_at: string

When this template was last synced to the source guild

usage_count

usage_count: number

Number of times this template has been used