@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.
package/dist/index.mjs CHANGED
@@ -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
@@ -3333,7 +3333,7 @@ __name(withFiles, "withFiles");
3333
3333
 
3334
3334
  // src/index.ts
3335
3335
  export * from "discord-api-types/v10";
3336
- var version = "3.0.0-dev.1754006525-8f5ac55d8";
3336
+ var version = "3.0.0-dev.1754352103-a2ee3932b";
3337
3337
  export {
3338
3338
  API,
3339
3339
  ApplicationCommandsAPI,