@discordjs/core 3.0.0-dev.1753876892-c3dc58169 → 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/http-only.d.mts +2 -2
- package/dist/http-only.d.ts +2 -2
- package/dist/http-only.js +4 -4
- package/dist/http-only.js.map +1 -1
- package/dist/http-only.mjs +4 -4
- package/dist/http-only.mjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/http-only.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
|
|
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(
|
|
1804
|
-
return this.rest.post(Routes4.
|
|
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.
|
|
3109
|
+
var version = "3.0.0-dev.1754352103-a2ee3932b";
|
|
3110
3110
|
export {
|
|
3111
3111
|
API,
|
|
3112
3112
|
ApplicationCommandsAPI,
|