DiscordTemplate
@discordeno/bot • Docs
Documentation / @discordeno/bot / DiscordTemplate
Interface: DiscordTemplate
https://discord.com/developers/docs/resources/template#template-object-template-structure
Properties
code
code:
string
The template code (unique Id)
Defined in
packages/types/dist/types/discord.d.ts:2840
created_at
created_at:
string
When this template was created
Defined in
packages/types/dist/types/discord.d.ts:2852
creator
creator:
DiscordUser
The user who created the template
Defined in
packages/types/dist/types/discord.d.ts:2850
creator_id
creator_id:
string
The Id of the user who created the template
Defined in
packages/types/dist/types/discord.d.ts:2848
description
description:
null
|string
The description for the template
Defined in
packages/types/dist/types/discord.d.ts:2844
is_dirty
is_dirty:
null
|boolean
Defined in
packages/types/dist/types/discord.d.ts:2859
name
name:
string
Template name
Defined in
packages/types/dist/types/discord.d.ts:2842
serialized_source_guild
serialized_source_guild:
DiscordTemplateSerializedSourceGuild
The guild snapshot this template contains
Defined in
packages/types/dist/types/discord.d.ts:2858
source_guild_id
source_guild_id:
string
The Id of the guild this template is based on
Defined in
packages/types/dist/types/discord.d.ts:2856
updated_at
updated_at:
string
When this template was last synced to the source guild
Defined in
packages/types/dist/types/discord.d.ts:2854
usage_count
usage_count:
number
Number of times this template has been used
Defined in
packages/types/dist/types/discord.d.ts:2846