@discordjs/core 3.0.0-dev.1751293692-536a54651 → 3.0.0-dev.1751501670-a5bd4cfe7
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 +4 -4
- package/dist/http-only.d.ts +4 -4
- package/dist/http-only.js +1 -1
- package/dist/http-only.js.map +1 -1
- package/dist/http-only.mjs +1 -1
- package/dist/http-only.mjs.map +1 -1
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -193,7 +193,7 @@ declare class ApplicationsAPI {
|
|
|
193
193
|
* @param emojiId - The id of the emoji to fetch
|
|
194
194
|
* @param options - The options for fetching the emoji
|
|
195
195
|
*/
|
|
196
|
-
getEmoji(applicationId: Snowflake, emojiId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.
|
|
196
|
+
getEmoji(applicationId: Snowflake, emojiId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIApplicationEmoji>;
|
|
197
197
|
/**
|
|
198
198
|
* Creates a new emoji of an application
|
|
199
199
|
*
|
|
@@ -202,7 +202,7 @@ declare class ApplicationsAPI {
|
|
|
202
202
|
* @param body - The data for creating the emoji
|
|
203
203
|
* @param options - The options for creating the emoji
|
|
204
204
|
*/
|
|
205
|
-
createEmoji(applicationId: Snowflake, body: RESTPostAPIApplicationEmojiJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.
|
|
205
|
+
createEmoji(applicationId: Snowflake, body: RESTPostAPIApplicationEmojiJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIApplicationEmoji>;
|
|
206
206
|
/**
|
|
207
207
|
* Edits an emoji of an application
|
|
208
208
|
*
|
|
@@ -212,7 +212,7 @@ declare class ApplicationsAPI {
|
|
|
212
212
|
* @param body - The data for editing the emoji
|
|
213
213
|
* @param options - The options for editing the emoji
|
|
214
214
|
*/
|
|
215
|
-
editEmoji(applicationId: Snowflake, emojiId: Snowflake, body: RESTPatchAPIApplicationEmojiJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.
|
|
215
|
+
editEmoji(applicationId: Snowflake, emojiId: Snowflake, body: RESTPatchAPIApplicationEmojiJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIApplicationEmoji>;
|
|
216
216
|
/**
|
|
217
217
|
* Deletes an emoji of an application
|
|
218
218
|
*
|
|
@@ -507,7 +507,7 @@ declare class ChannelsAPI {
|
|
|
507
507
|
* @param body - The data for starting the thread
|
|
508
508
|
* @param options - The options for starting the thread
|
|
509
509
|
*/
|
|
510
|
-
createForumThread(channelId: Snowflake, { message, ...optionsBody }: StartForumThreadOptions, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<APIThreadChannel
|
|
510
|
+
createForumThread(channelId: Snowflake, { message, ...optionsBody }: StartForumThreadOptions, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<APIThreadChannel<discord_api_types_v10.ThreadChannelType>>;
|
|
511
511
|
/**
|
|
512
512
|
* Fetches the archived threads of a channel
|
|
513
513
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -193,7 +193,7 @@ declare class ApplicationsAPI {
|
|
|
193
193
|
* @param emojiId - The id of the emoji to fetch
|
|
194
194
|
* @param options - The options for fetching the emoji
|
|
195
195
|
*/
|
|
196
|
-
getEmoji(applicationId: Snowflake, emojiId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.
|
|
196
|
+
getEmoji(applicationId: Snowflake, emojiId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIApplicationEmoji>;
|
|
197
197
|
/**
|
|
198
198
|
* Creates a new emoji of an application
|
|
199
199
|
*
|
|
@@ -202,7 +202,7 @@ declare class ApplicationsAPI {
|
|
|
202
202
|
* @param body - The data for creating the emoji
|
|
203
203
|
* @param options - The options for creating the emoji
|
|
204
204
|
*/
|
|
205
|
-
createEmoji(applicationId: Snowflake, body: RESTPostAPIApplicationEmojiJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.
|
|
205
|
+
createEmoji(applicationId: Snowflake, body: RESTPostAPIApplicationEmojiJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIApplicationEmoji>;
|
|
206
206
|
/**
|
|
207
207
|
* Edits an emoji of an application
|
|
208
208
|
*
|
|
@@ -212,7 +212,7 @@ declare class ApplicationsAPI {
|
|
|
212
212
|
* @param body - The data for editing the emoji
|
|
213
213
|
* @param options - The options for editing the emoji
|
|
214
214
|
*/
|
|
215
|
-
editEmoji(applicationId: Snowflake, emojiId: Snowflake, body: RESTPatchAPIApplicationEmojiJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.
|
|
215
|
+
editEmoji(applicationId: Snowflake, emojiId: Snowflake, body: RESTPatchAPIApplicationEmojiJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIApplicationEmoji>;
|
|
216
216
|
/**
|
|
217
217
|
* Deletes an emoji of an application
|
|
218
218
|
*
|
|
@@ -507,7 +507,7 @@ declare class ChannelsAPI {
|
|
|
507
507
|
* @param body - The data for starting the thread
|
|
508
508
|
* @param options - The options for starting the thread
|
|
509
509
|
*/
|
|
510
|
-
createForumThread(channelId: Snowflake, { message, ...optionsBody }: StartForumThreadOptions, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<APIThreadChannel
|
|
510
|
+
createForumThread(channelId: Snowflake, { message, ...optionsBody }: StartForumThreadOptions, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<APIThreadChannel<discord_api_types_v10.ThreadChannelType>>;
|
|
511
511
|
/**
|
|
512
512
|
* Fetches the archived threads of a channel
|
|
513
513
|
*
|
package/dist/index.js
CHANGED
|
@@ -3336,7 +3336,7 @@ __name(withFiles, "withFiles");
|
|
|
3336
3336
|
|
|
3337
3337
|
// src/index.ts
|
|
3338
3338
|
__reExport(index_exports, require("discord-api-types/v10"), module.exports);
|
|
3339
|
-
var version = "3.0.0-dev.
|
|
3339
|
+
var version = "3.0.0-dev.1751501670-a5bd4cfe7";
|
|
3340
3340
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3341
3341
|
0 && (module.exports = {
|
|
3342
3342
|
API,
|