Represents the template for a guild.
Extends
BaseA regular expression that matches guild template links. The
code
group property is present on the exec()
result of this expression.Creates a guild based on this template. This is only available to bots in fewer than 10 guilds.
Name | Type | Optional | Description |
---|---|---|---|
name | string | No | The name of the guild |
icon | BufferResolvable | Base64Resolvable | Yes | The icon for the guild |
Deletes this template.
Updates the metadata of this template.
Name | Type | Optional | Description |
---|---|---|---|
options | GuildTemplateEditOptions | Yes | Options for editing the template |
Syncs this template to the current state of the guild.
Name | Type | Optional | Description |
---|---|---|---|
...props | Record<string, boolean | string>[] | No | None |