@discordjs/core 3.0.0-dev.1754006525-8f5ac55d8 → 3.0.0-dev.1754352103-a2ee3932b

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1796,12 +1796,12 @@ var GuildsAPI = class {
1796
1796
  * Creates a new template
1797
1797
  *
1798
1798
  * @see {@link https://discord.com/developers/docs/resources/guild-template#create-guild-template}
1799
- * @param templateCode - The code of the template
1799
+ * @param guildId - The id of the guild
1800
1800
  * @param body - The data for creating the template
1801
1801
  * @param options - The options for creating the template
1802
1802
  */
1803
- async createTemplate(templateCode, body, { auth, signal } = {}) {
1804
- return this.rest.post(Routes4.template(templateCode), {
1803
+ async createTemplate(guildId, body, { auth, signal } = {}) {
1804
+ return this.rest.post(Routes4.guildTemplates(guildId), {
1805
1805
  auth,
1806
1806
  body,
1807
1807
  signal
@@ -3106,7 +3106,7 @@ __name(withFiles, "withFiles");
3106
3106
 
3107
3107
  // src/http-only/index.ts
3108
3108
  export * from "discord-api-types/v10";
3109
- var version = "3.0.0-dev.1754006525-8f5ac55d8";
3109
+ var version = "3.0.0-dev.1754352103-a2ee3932b";
3110
3110
  export {
3111
3111
  API,
3112
3112
  ApplicationCommandsAPI,