Create a new Guild Template Method Handler
Usually SnowTransfer creates a method handler for you, this is here for completion
You can access the methods listed via client.guildTemplate.method
, where client
is an initialized SnowTransfer instance
request handler that calls the rest api
Creates a guild from a template. If using a bot account, the bot can only be in < 10 guilds (guild create limitation)
The code of the template
Specific options for the new guild
A guild
Creates a template from the current state of the guild
The Id of the guild
Metadata for the template
Permissions needed | Condition |
---|---|
MANAGE_GUILD | always |
Deletes a template from a guild
The Id of the guild
The code of the template
Permissions needed | Condition |
---|---|
MANAGE_GUILD | always |
Get a guild template by code
The code for the template
Gets all templates from a guild
The Id of the guild
An array of guild templates
Permissions needed | Condition |
---|---|
MANAGE_GUILD | always |
Updates a guild template's metadata
The Id of the guild
The code of the template
Metadata for the template
Permissions needed | Condition |
---|---|
MANAGE_GUILD | always |
Updates a guild template to match the current state of the guild
The Id of the guild
The code of the template
Permissions needed | Condition |
---|---|
MANAGE_GUILD | always |
Generated using TypeDoc
Methods for interacting with Guild Templates