Add template
install_templateAdds a template to an app: its commands, event listeners, messages and stored variables, with the parameters filled in. Messages the template posts in a channel are posted right away. Templates not made by Kite are made by other users, so tell the user who made it and ask before adding one. Get the template with get_template and app_id first, and ask the user for the parameters you can't pick from list_channels and list_roles.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | The keys of the commands and event listeners to add. Defaults to all of them. Messages and stored variables are always added, the others use them. | |
| app_id | Yes | The ID of the app, from list_apps. | |
| messages | No | For messages with written_by_user, the message like Discord's API takes it, by the message's key. Without it, it's the template's text. | |
| server_id | No | The ID of the server, from list_servers, the channels of the parameters are in. Needed when a message is posted. | |
| parameters | No | Values of the parameters by their key. Channels and roles are their IDs. | |
| template_id | Yes | The ID of the template, from search_templates. |