@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.
@@ -190,7 +190,7 @@ declare class ApplicationsAPI {
190
190
  * @param emojiId - The id of the emoji to fetch
191
191
  * @param options - The options for fetching the emoji
192
192
  */
193
- getEmoji(applicationId: Snowflake, emojiId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIEmoji>;
193
+ getEmoji(applicationId: Snowflake, emojiId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIApplicationEmoji>;
194
194
  /**
195
195
  * Creates a new emoji of an application
196
196
  *
@@ -199,7 +199,7 @@ declare class ApplicationsAPI {
199
199
  * @param body - The data for creating the emoji
200
200
  * @param options - The options for creating the emoji
201
201
  */
202
- createEmoji(applicationId: Snowflake, body: RESTPostAPIApplicationEmojiJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIEmoji>;
202
+ createEmoji(applicationId: Snowflake, body: RESTPostAPIApplicationEmojiJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIApplicationEmoji>;
203
203
  /**
204
204
  * Edits an emoji of an application
205
205
  *
@@ -209,7 +209,7 @@ declare class ApplicationsAPI {
209
209
  * @param body - The data for editing the emoji
210
210
  * @param options - The options for editing the emoji
211
211
  */
212
- editEmoji(applicationId: Snowflake, emojiId: Snowflake, body: RESTPatchAPIApplicationEmojiJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIEmoji>;
212
+ editEmoji(applicationId: Snowflake, emojiId: Snowflake, body: RESTPatchAPIApplicationEmojiJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIApplicationEmoji>;
213
213
  /**
214
214
  * Deletes an emoji of an application
215
215
  *
@@ -504,7 +504,7 @@ declare class ChannelsAPI {
504
504
  * @param body - The data for starting the thread
505
505
  * @param options - The options for starting the thread
506
506
  */
507
- createForumThread(channelId: Snowflake, { message, ...optionsBody }: StartForumThreadOptions, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<APIThreadChannel>;
507
+ createForumThread(channelId: Snowflake, { message, ...optionsBody }: StartForumThreadOptions, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<APIThreadChannel<discord_api_types_v10.ThreadChannelType>>;
508
508
  /**
509
509
  * Fetches the archived threads of a channel
510
510
  *
@@ -190,7 +190,7 @@ declare class ApplicationsAPI {
190
190
  * @param emojiId - The id of the emoji to fetch
191
191
  * @param options - The options for fetching the emoji
192
192
  */
193
- getEmoji(applicationId: Snowflake, emojiId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIEmoji>;
193
+ getEmoji(applicationId: Snowflake, emojiId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIApplicationEmoji>;
194
194
  /**
195
195
  * Creates a new emoji of an application
196
196
  *
@@ -199,7 +199,7 @@ declare class ApplicationsAPI {
199
199
  * @param body - The data for creating the emoji
200
200
  * @param options - The options for creating the emoji
201
201
  */
202
- createEmoji(applicationId: Snowflake, body: RESTPostAPIApplicationEmojiJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIEmoji>;
202
+ createEmoji(applicationId: Snowflake, body: RESTPostAPIApplicationEmojiJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIApplicationEmoji>;
203
203
  /**
204
204
  * Edits an emoji of an application
205
205
  *
@@ -209,7 +209,7 @@ declare class ApplicationsAPI {
209
209
  * @param body - The data for editing the emoji
210
210
  * @param options - The options for editing the emoji
211
211
  */
212
- editEmoji(applicationId: Snowflake, emojiId: Snowflake, body: RESTPatchAPIApplicationEmojiJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIEmoji>;
212
+ editEmoji(applicationId: Snowflake, emojiId: Snowflake, body: RESTPatchAPIApplicationEmojiJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIApplicationEmoji>;
213
213
  /**
214
214
  * Deletes an emoji of an application
215
215
  *
@@ -504,7 +504,7 @@ declare class ChannelsAPI {
504
504
  * @param body - The data for starting the thread
505
505
  * @param options - The options for starting the thread
506
506
  */
507
- createForumThread(channelId: Snowflake, { message, ...optionsBody }: StartForumThreadOptions, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<APIThreadChannel>;
507
+ createForumThread(channelId: Snowflake, { message, ...optionsBody }: StartForumThreadOptions, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<APIThreadChannel<discord_api_types_v10.ThreadChannelType>>;
508
508
  /**
509
509
  * Fetches the archived threads of a channel
510
510
  *
package/dist/http-only.js CHANGED
@@ -3111,7 +3111,7 @@ __name(withFiles, "withFiles");
3111
3111
 
3112
3112
  // src/http-only/index.ts
3113
3113
  __reExport(http_only_exports, require("discord-api-types/v10"), module.exports);
3114
- var version = "3.0.0-dev.1751293692-536a54651";
3114
+ var version = "3.0.0-dev.1751501670-a5bd4cfe7";
3115
3115
  // Annotate the CommonJS export names for ESM import in node:
3116
3116
  0 && (module.exports = {
3117
3117
  API,