APITemplate

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

Signature

export interface APITemplate

Properties

code: string;

The template code (unique ID)

name: string;

Template name

description: string | null;

The description for the template

usage_count: number;

Number of times this template has been used

creator: APIUser;

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

created_at: string;

When this template was created

updated_at: string;

When this template was last synced to the source guild

is_dirty: boolean | null;

Whether the template has unsynced changes