Skip to main content
Module

x/discord_api_types/v10.ts>APITemplate

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface APITemplate
Re-export
import { type APITemplate } from "https://deno.land/x/discord_api_types@0.37.11/v10.ts";

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_id: Snowflake

The ID of the user who created the template

creator: APIUser
created_at: string

When this template was created

updated_at: string

When this template was last synced to the source guild

source_guild_id: Snowflake

The ID of the guild this template is based on

serialized_source_guild: APITemplateSerializedSourceGuild

The guild snapshot this template contains

is_dirty: boolean | null

Whether the template has unsynced changes