DiscordTemplate
Documentation / @discordeno/bot / DiscordTemplate
Interface: DiscordTemplate
Defined in: packages/types/dist/types/discord.d.ts:2841
https://discord.com/developers/docs/resources/template#template-object-template-structure
Properties
code
code:
string
Defined in: packages/types/dist/types/discord.d.ts:2843
The template code (unique Id)
created_at
created_at:
string
Defined in: packages/types/dist/types/discord.d.ts:2855
When this template was created
creator
creator:
DiscordUser
Defined in: packages/types/dist/types/discord.d.ts:2853
The user who created the template
creator_id
creator_id:
string
Defined in: packages/types/dist/types/discord.d.ts:2851
The Id of the user who created the template
description
description:
null
|string
Defined in: packages/types/dist/types/discord.d.ts:2847
The description for the template
is_dirty
is_dirty:
null
|boolean
Defined in: packages/types/dist/types/discord.d.ts:2862
name
name:
string
Defined in: packages/types/dist/types/discord.d.ts:2845
Template name
serialized_source_guild
serialized_source_guild:
DiscordTemplateSerializedSourceGuild
Defined in: packages/types/dist/types/discord.d.ts:2861
The guild snapshot this template contains
source_guild_id
source_guild_id:
string
Defined in: packages/types/dist/types/discord.d.ts:2859
The Id of the guild this template is based on
updated_at
updated_at:
string
Defined in: packages/types/dist/types/discord.d.ts:2857
When this template was last synced to the source guild
usage_count
usage_count:
number
Defined in: packages/types/dist/types/discord.d.ts:2849
Number of times this template has been used