Expand description
Guild templates: codes that create a new guild from a snapshot of an existing one.
The snapshot (SerializedSourceGuild) does not use real IDs: roles and channels get small
placeholder IDs (0 is @everyone, channels count up from 1) that other parts of the
snapshot refer to (parent_id, permission overwrites, system_channel_id). Discord replaces
them with real snowflakes when a guild is created from the template. They are therefore plain
u64s here, not Ids, and the snapshot types are separate from
Role and Channel (D-059). The same format
is used by the (deprecated) “create guild” REST body.
Structs§
- Guild
Template - A guild template.
- Serialized
Source Guild - The guild snapshot of a
GuildTemplate(a partial guild with placeholder IDs, D-059). - Template
Channel - A channel in a
SerializedSourceGuild(D-059). - Template
Forum Tag - A forum tag in a
TemplateChannel: like aForumTag, but without an ID (D-059). - Template
Overwrite - A permission overwrite in a
TemplateChannel(D-059). - Template
Role - A role in a
SerializedSourceGuild(D-059).