@discordjs/core 3.0.0-dev.1735905894-bacc08b45 → 3.0.0-dev.1735949501-28a250384

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.d.mts CHANGED
@@ -1547,7 +1547,7 @@ declare class InteractionsAPI {
1547
1547
  */
1548
1548
  updateMessage(interactionId: Snowflake, interactionToken: string, callbackData: CreateInteractionUpdateMessageResponseOptions & {
1549
1549
  with_response: true;
1550
- }, options: Pick<RequestData, 'signal'>): Promise<RESTPostAPIInteractionCallbackWithResponseResult>;
1550
+ }, options?: Pick<RequestData, 'signal'>): Promise<RESTPostAPIInteractionCallbackWithResponseResult>;
1551
1551
  /**
1552
1552
  * Updates the message the component interaction was triggered on
1553
1553
  *
@@ -1559,7 +1559,7 @@ declare class InteractionsAPI {
1559
1559
  */
1560
1560
  updateMessage(interactionId: Snowflake, interactionToken: string, callbackData: CreateInteractionUpdateMessageResponseOptions & {
1561
1561
  with_response?: false;
1562
- }, options: Pick<RequestData, 'signal'>): Promise<undefined>;
1562
+ }, options?: Pick<RequestData, 'signal'>): Promise<undefined>;
1563
1563
  /**
1564
1564
  * Sends an autocomplete response to an interaction and returns an interaction callback object
1565
1565
  *
@@ -1583,7 +1583,7 @@ declare class InteractionsAPI {
1583
1583
  */
1584
1584
  createAutocompleteResponse(interactionId: Snowflake, interactionToken: string, callbackData: CreateAutocompleteResponseOptions & {
1585
1585
  with_response?: false;
1586
- }, options: Pick<RequestData, 'signal'>): Promise<undefined>;
1586
+ }, options?: Pick<RequestData, 'signal'>): Promise<undefined>;
1587
1587
  /**
1588
1588
  * Sends a modal response to an interaction and returns an interaction callback object
1589
1589
  *
package/dist/index.d.ts CHANGED
@@ -1547,7 +1547,7 @@ declare class InteractionsAPI {
1547
1547
  */
1548
1548
  updateMessage(interactionId: Snowflake, interactionToken: string, callbackData: CreateInteractionUpdateMessageResponseOptions & {
1549
1549
  with_response: true;
1550
- }, options: Pick<RequestData, 'signal'>): Promise<RESTPostAPIInteractionCallbackWithResponseResult>;
1550
+ }, options?: Pick<RequestData, 'signal'>): Promise<RESTPostAPIInteractionCallbackWithResponseResult>;
1551
1551
  /**
1552
1552
  * Updates the message the component interaction was triggered on
1553
1553
  *
@@ -1559,7 +1559,7 @@ declare class InteractionsAPI {
1559
1559
  */
1560
1560
  updateMessage(interactionId: Snowflake, interactionToken: string, callbackData: CreateInteractionUpdateMessageResponseOptions & {
1561
1561
  with_response?: false;
1562
- }, options: Pick<RequestData, 'signal'>): Promise<undefined>;
1562
+ }, options?: Pick<RequestData, 'signal'>): Promise<undefined>;
1563
1563
  /**
1564
1564
  * Sends an autocomplete response to an interaction and returns an interaction callback object
1565
1565
  *
@@ -1583,7 +1583,7 @@ declare class InteractionsAPI {
1583
1583
  */
1584
1584
  createAutocompleteResponse(interactionId: Snowflake, interactionToken: string, callbackData: CreateAutocompleteResponseOptions & {
1585
1585
  with_response?: false;
1586
- }, options: Pick<RequestData, 'signal'>): Promise<undefined>;
1586
+ }, options?: Pick<RequestData, 'signal'>): Promise<undefined>;
1587
1587
  /**
1588
1588
  * Sends a modal response to an interaction and returns an interaction callback object
1589
1589
  *
package/dist/index.js CHANGED
@@ -3111,7 +3111,7 @@ __name(withFiles, "withFiles");
3111
3111
 
3112
3112
  // src/index.ts
3113
3113
  __reExport(index_exports, require("discord-api-types/v10"), module.exports);
3114
- var version = "3.0.0-dev.1735905894-bacc08b45";
3114
+ var version = "3.0.0-dev.1735949501-28a250384";
3115
3115
  // Annotate the CommonJS export names for ESM import in node:
3116
3116
  0 && (module.exports = {
3117
3117
  API,