@discordjs/core 2.1.0-dev.1732709132-97ffa201a → 2.1.0-dev.1738965220-519aa3abe

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.js CHANGED
@@ -33,7 +33,6 @@ __export(http_only_exports, {
33
33
  OAuth2API: () => OAuth2API,
34
34
  PollAPI: () => PollAPI,
35
35
  RoleConnectionsAPI: () => RoleConnectionsAPI,
36
- SoundboardSoundsAPI: () => SoundboardSoundsAPI,
37
36
  StageInstancesAPI: () => StageInstancesAPI,
38
37
  StickersAPI: () => StickersAPI,
39
38
  ThreadsAPI: () => ThreadsAPI,
@@ -416,17 +415,9 @@ var ChannelsAPI = class {
416
415
  * @see {@link https://discord.com/developers/docs/resources/message#get-reactions}
417
416
  * @param channelId - The id of the channel the message is in
418
417
  * @param messageId - The id of the message to get the reactions for
419
- * @param emoji - The emoji to get the reactions for. URL encoding happens internally
418
+ * @param emoji - The emoji to get the reactions for
420
419
  * @param query - The query options for fetching the reactions
421
420
  * @param options - The options for fetching the message reactions
422
- * @example
423
- * ```ts
424
- * // Unicode.
425
- * await api.channels.getMessageReactions('1234567890', '1234567890', '👍');
426
- *
427
- * // Custom emoji.
428
- * await api.channels.getMessageReactions('1234567890', '1234567890', 'emoji_name:1234567890');
429
- * ```
430
421
  */
431
422
  async getMessageReactions(channelId, messageId, emoji, query = {}, { signal } = {}) {
432
423
  return this.rest.get(import_v103.Routes.channelMessageReaction(channelId, messageId, encodeURIComponent(emoji)), {
@@ -440,16 +431,8 @@ var ChannelsAPI = class {
440
431
  * @see {@link https://discord.com/developers/docs/resources/message#delete-own-reaction}
441
432
  * @param channelId - The id of the channel the message is in
442
433
  * @param messageId - The id of the message to delete the reaction for
443
- * @param emoji - The emoji to delete the reaction for. URL encoding happens internally
434
+ * @param emoji - The emoji to delete the reaction for
444
435
  * @param options - The options for deleting the reaction
445
- * @example
446
- * ```ts
447
- * // Unicode.
448
- * await api.channels.deleteOwnMessageReaction('1234567890', '1234567890', '👍');
449
- *
450
- * // Custom emoji.
451
- * await api.channels.deleteOwnMessageReaction('1234567890', '1234567890', 'emoji_name:1234567890');
452
- * ```
453
436
  */
454
437
  async deleteOwnMessageReaction(channelId, messageId, emoji, { signal } = {}) {
455
438
  await this.rest.delete(import_v103.Routes.channelMessageOwnReaction(channelId, messageId, encodeURIComponent(emoji)), {
@@ -462,17 +445,9 @@ var ChannelsAPI = class {
462
445
  * @see {@link https://discord.com/developers/docs/resources/message#delete-user-reaction}
463
446
  * @param channelId - The id of the channel the message is in
464
447
  * @param messageId - The id of the message to delete the reaction for
465
- * @param emoji - The emoji to delete the reaction for. URL encoding happens internally
448
+ * @param emoji - The emoji to delete the reaction for
466
449
  * @param userId - The id of the user to delete the reaction for
467
450
  * @param options - The options for deleting the reaction
468
- * @example
469
- * ```ts
470
- * // Unicode.
471
- * await api.channels.deleteUserMessageReaction('1234567890', '1234567890', '👍', '1234567890');
472
- *
473
- * // Custom emoji.
474
- * await api.channels.deleteUserMessageReaction('1234567890', '1234567890', 'emoji_name:1234567890', '1234567890');
475
- * ```
476
451
  */
477
452
  async deleteUserMessageReaction(channelId, messageId, emoji, userId, { signal } = {}) {
478
453
  await this.rest.delete(import_v103.Routes.channelMessageUserReaction(channelId, messageId, encodeURIComponent(emoji), userId), {
@@ -496,16 +471,8 @@ var ChannelsAPI = class {
496
471
  * @see {@link https://discord.com/developers/docs/resources/message#delete-all-reactions-for-emoji}
497
472
  * @param channelId - The id of the channel the message is in
498
473
  * @param messageId - The id of the message to delete the reactions for
499
- * @param emoji - The emoji to delete the reactions for. URL encoding happens internally
474
+ * @param emoji - The emoji to delete the reactions for
500
475
  * @param options - The options for deleting the reactions
501
- * @example
502
- * ```ts
503
- * // Unicode.
504
- * await api.channels.deleteAllMessageReactionsForEmoji('1234567890', '1234567890', '👍');
505
- *
506
- * // Custom emoji.
507
- * await api.channels.deleteAllMessageReactionsForEmoji('1234567890', '1234567890', 'emoji_name:1234567890');
508
- * ```
509
476
  */
510
477
  async deleteAllMessageReactionsForEmoji(channelId, messageId, emoji, { signal } = {}) {
511
478
  await this.rest.delete(import_v103.Routes.channelMessageReaction(channelId, messageId, encodeURIComponent(emoji)), { signal });
@@ -516,16 +483,8 @@ var ChannelsAPI = class {
516
483
  * @see {@link https://discord.com/developers/docs/resources/message#create-reaction}
517
484
  * @param channelId - The id of the channel the message is in
518
485
  * @param messageId - The id of the message to add the reaction to
519
- * @param emoji - The emoji to add the reaction with. URL encoding happens internally
486
+ * @param emoji - The emoji to add the reaction with
520
487
  * @param options - The options for adding the reaction
521
- * @example
522
- * ```ts
523
- * // Unicode.
524
- * await api.channels.addMessageReaction('1234567890', '1234567890', '👍');
525
- *
526
- * // Custom emoji.
527
- * await api.channels.addMessageReaction('1234567890', '1234567890', 'emoji_name:1234567890');
528
- * ```
529
488
  */
530
489
  async addMessageReaction(channelId, messageId, emoji, { signal } = {}) {
531
490
  await this.rest.put(import_v103.Routes.channelMessageOwnReaction(channelId, messageId, encodeURIComponent(emoji)), { signal });
@@ -821,20 +780,6 @@ var ChannelsAPI = class {
821
780
  signal
822
781
  });
823
782
  }
824
- /**
825
- * Sends a soundboard sound in a channel
826
- *
827
- * @see {@link https://discord.com/developers/docs/resources/soundboard#send-soundboard-sound}
828
- * @param channelId - The id of the channel to send the soundboard sound in
829
- * @param body - The data for sending the soundboard sound
830
- * @param options - The options for sending the soundboard sound
831
- */
832
- async sendSoundboardSound(channelId, body, { signal } = {}) {
833
- return this.rest.post(import_v103.Routes.sendSoundboardSound(channelId), {
834
- body,
835
- signal
836
- });
837
- }
838
783
  };
839
784
 
840
785
  // src/api/guild.ts
@@ -1863,77 +1808,9 @@ var GuildsAPI = class {
1863
1808
  signal
1864
1809
  });
1865
1810
  }
1866
- /**
1867
- * Fetches all the soundboard sounds for a guild
1868
- *
1869
- * @see {@link https://discord.com/developers/docs/resources/soundboard#list-guild-soundboard-sounds}
1870
- * @param guildId - The id of the guild to fetch the soundboard sounds for
1871
- * @param options - The options for fetching the soundboard sounds
1872
- */
1873
- async getSoundboardSounds(guildId, { signal } = {}) {
1874
- return this.rest.get(import_v105.Routes.guildSoundboardSounds(guildId), {
1875
- signal
1876
- });
1877
- }
1878
- /**
1879
- * Fetches a soundboard sound for a guild
1880
- *
1881
- * @see {@link https://discord.com/developers/docs/resources/soundboard#get-guild-soundboard-sound}
1882
- * @param guildId - The id of the guild to fetch the soundboard sound for
1883
- * @param soundId - The id of the soundboard sound to fetch
1884
- * @param options - The options for fetching the soundboard sound
1885
- */
1886
- async getSoundboardSound(guildId, soundId, { signal } = {}) {
1887
- return this.rest.get(import_v105.Routes.guildSoundboardSound(guildId, soundId), {
1888
- signal
1889
- });
1890
- }
1891
- /**
1892
- * Creates a new soundboard sound for a guild
1893
- *
1894
- * @see {@link https://discord.com/developers/docs/resources/soundboard#create-guild-soundboard-sound}
1895
- * @param guildId - The id of the guild to create the soundboard sound for
1896
- * @param body - The data for creating the soundboard sound
1897
- * @param options - The options for creating the soundboard sound
1898
- */
1899
- async createSoundboardSound(guildId, body, { reason, signal } = {}) {
1900
- return this.rest.post(import_v105.Routes.guildSoundboardSounds(guildId), {
1901
- body,
1902
- reason,
1903
- signal
1904
- });
1905
- }
1906
- /**
1907
- * Edits a soundboard sound for a guild
1908
- *
1909
- * @see {@link https://discord.com/developers/docs/resources/soundboard#modify-guild-soundboard-sound}
1910
- * @param guildId - The id of the guild to edit the soundboard sound for
1911
- * @param soundId - The id of the soundboard sound to edit
1912
- * @param body - The data for editing the soundboard sound
1913
- * @param options - The options for editing the soundboard sound
1914
- */
1915
- async editSoundboardSound(guildId, soundId, body, { reason, signal } = {}) {
1916
- return this.rest.patch(import_v105.Routes.guildSoundboardSound(guildId, soundId), {
1917
- body,
1918
- reason,
1919
- signal
1920
- });
1921
- }
1922
- /**
1923
- * Deletes a soundboard sound for a guild
1924
- *
1925
- * @see {@link https://discord.com/developers/docs/resources/soundboard#delete-guild-soundboard-sound}
1926
- * @param guildId - The id of the guild to delete the soundboard sound for
1927
- * @param soundId - The id of the soundboard sound to delete
1928
- * @param options - The options for deleting the soundboard sound
1929
- */
1930
- async deleteSoundboardSound(guildId, soundId, { reason, signal } = {}) {
1931
- await this.rest.delete(import_v105.Routes.guildSoundboardSound(guildId, soundId), { reason, signal });
1932
- }
1933
1811
  };
1934
1812
 
1935
1813
  // src/api/interactions.ts
1936
- var import_rest4 = require("@discordjs/rest");
1937
1814
  var import_v106 = require("discord-api-types/v10");
1938
1815
  var InteractionsAPI = class {
1939
1816
  constructor(rest, webhooks) {
@@ -1943,13 +1820,17 @@ var InteractionsAPI = class {
1943
1820
  static {
1944
1821
  __name(this, "InteractionsAPI");
1945
1822
  }
1946
- async reply(interactionId, interactionToken, {
1947
- files,
1948
- with_response,
1949
- ...data
1950
- }, { signal } = {}) {
1951
- const response = await this.rest.post(import_v106.Routes.interactionCallback(interactionId, interactionToken), {
1952
- query: (0, import_rest4.makeURLSearchParams)({ with_response }),
1823
+ /**
1824
+ * Replies to an interaction
1825
+ *
1826
+ * @see {@link https://discord.com/developers/docs/interactions/receiving-and-responding#create-interaction-response}
1827
+ * @param interactionId - The id of the interaction
1828
+ * @param interactionToken - The token of the interaction
1829
+ * @param body - The callback data for replying
1830
+ * @param options - The options for replying
1831
+ */
1832
+ async reply(interactionId, interactionToken, { files, ...data }, { signal } = {}) {
1833
+ await this.rest.post(import_v106.Routes.interactionCallback(interactionId, interactionToken), {
1953
1834
  files,
1954
1835
  auth: false,
1955
1836
  body: {
@@ -1958,14 +1839,18 @@ var InteractionsAPI = class {
1958
1839
  },
1959
1840
  signal
1960
1841
  });
1961
- return with_response ? response : void 0;
1962
1842
  }
1963
- async defer(interactionId, interactionToken, {
1964
- with_response,
1965
- ...data
1966
- } = {}, { signal } = {}) {
1967
- const response = await this.rest.post(import_v106.Routes.interactionCallback(interactionId, interactionToken), {
1968
- query: (0, import_rest4.makeURLSearchParams)({ with_response }),
1843
+ /**
1844
+ * Defers the reply to an interaction
1845
+ *
1846
+ * @see {@link https://discord.com/developers/docs/interactions/receiving-and-responding#create-interaction-response}
1847
+ * @param interactionId - The id of the interaction
1848
+ * @param interactionToken - The token of the interaction
1849
+ * @param data - The data for deferring the reply
1850
+ * @param options - The options for deferring
1851
+ */
1852
+ async defer(interactionId, interactionToken, data, { signal } = {}) {
1853
+ await this.rest.post(import_v106.Routes.interactionCallback(interactionId, interactionToken), {
1969
1854
  auth: false,
1970
1855
  body: {
1971
1856
  type: import_v106.InteractionResponseType.DeferredChannelMessageWithSource,
@@ -1973,18 +1858,23 @@ var InteractionsAPI = class {
1973
1858
  },
1974
1859
  signal
1975
1860
  });
1976
- return with_response ? response : void 0;
1977
1861
  }
1978
- async deferMessageUpdate(interactionId, interactionToken, { with_response } = {}, { signal } = {}) {
1979
- const response = await this.rest.post(import_v106.Routes.interactionCallback(interactionId, interactionToken), {
1980
- query: (0, import_rest4.makeURLSearchParams)({ with_response }),
1862
+ /**
1863
+ * Defers an update from a message component interaction
1864
+ *
1865
+ * @see {@link https://discord.com/developers/docs/interactions/receiving-and-responding#create-interaction-response}
1866
+ * @param interactionId - The id of the interaction
1867
+ * @param interactionToken - The token of the interaction
1868
+ * @param options - The options for deferring
1869
+ */
1870
+ async deferMessageUpdate(interactionId, interactionToken, { signal } = {}) {
1871
+ await this.rest.post(import_v106.Routes.interactionCallback(interactionId, interactionToken), {
1981
1872
  auth: false,
1982
1873
  body: {
1983
1874
  type: import_v106.InteractionResponseType.DeferredMessageUpdate
1984
1875
  },
1985
1876
  signal
1986
1877
  });
1987
- return with_response ? response : void 0;
1988
1878
  }
1989
1879
  /**
1990
1880
  * Reply to a deferred interaction
@@ -2044,12 +1934,17 @@ var InteractionsAPI = class {
2044
1934
  async deleteReply(applicationId, interactionToken, messageId, { signal } = {}) {
2045
1935
  await this.webhooks.deleteMessage(applicationId, interactionToken, messageId ?? "@original", {}, { signal });
2046
1936
  }
2047
- async updateMessage(interactionId, interactionToken, {
2048
- files,
2049
- with_response,
2050
- ...data
2051
- }, { signal } = {}) {
2052
- const response = await this.rest.post(import_v106.Routes.interactionCallback(interactionId, interactionToken), {
1937
+ /**
1938
+ * Updates the message the component interaction was triggered on
1939
+ *
1940
+ * @see {@link https://discord.com/developers/docs/interactions/receiving-and-responding#create-interaction-response}
1941
+ * @param interactionId - The id of the interaction
1942
+ * @param interactionToken - The token of the interaction
1943
+ * @param callbackData - The callback data for updating the interaction
1944
+ * @param options - The options for updating the interaction
1945
+ */
1946
+ async updateMessage(interactionId, interactionToken, { files, ...data }, { signal } = {}) {
1947
+ await this.rest.post(import_v106.Routes.interactionCallback(interactionId, interactionToken), {
2053
1948
  files,
2054
1949
  auth: false,
2055
1950
  body: {
@@ -2058,32 +1953,44 @@ var InteractionsAPI = class {
2058
1953
  },
2059
1954
  signal
2060
1955
  });
2061
- return with_response ? response : void 0;
2062
1956
  }
2063
- async createAutocompleteResponse(interactionId, interactionToken, {
2064
- with_response,
2065
- ...data
2066
- }, { signal } = {}) {
2067
- const response = await this.rest.post(import_v106.Routes.interactionCallback(interactionId, interactionToken), {
1957
+ /**
1958
+ * Sends an autocomplete response to an interaction
1959
+ *
1960
+ * @see {@link https://discord.com/developers/docs/interactions/receiving-and-responding#create-interaction-response}
1961
+ * @param interactionId - The id of the interaction
1962
+ * @param interactionToken - The token of the interaction
1963
+ * @param callbackData - The callback data for the autocomplete response
1964
+ * @param options - The options for sending the autocomplete response
1965
+ */
1966
+ async createAutocompleteResponse(interactionId, interactionToken, callbackData, { signal } = {}) {
1967
+ await this.rest.post(import_v106.Routes.interactionCallback(interactionId, interactionToken), {
2068
1968
  auth: false,
2069
1969
  body: {
2070
1970
  type: import_v106.InteractionResponseType.ApplicationCommandAutocompleteResult,
2071
- data
1971
+ data: callbackData
2072
1972
  },
2073
1973
  signal
2074
1974
  });
2075
- return with_response ? response : void 0;
2076
1975
  }
2077
- async createModal(interactionId, interactionToken, { with_response, ...data }, { signal } = {}) {
2078
- const response = await this.rest.post(import_v106.Routes.interactionCallback(interactionId, interactionToken), {
1976
+ /**
1977
+ * Sends a modal response to an interaction
1978
+ *
1979
+ * @see {@link https://discord.com/developers/docs/interactions/receiving-and-responding#create-interaction-response}
1980
+ * @param interactionId - The id of the interaction
1981
+ * @param interactionToken - The token of the interaction
1982
+ * @param callbackData - The modal callback data to send
1983
+ * @param options - The options for sending the modal
1984
+ */
1985
+ async createModal(interactionId, interactionToken, callbackData, { signal } = {}) {
1986
+ await this.rest.post(import_v106.Routes.interactionCallback(interactionId, interactionToken), {
2079
1987
  auth: false,
2080
1988
  body: {
2081
1989
  type: import_v106.InteractionResponseType.Modal,
2082
- data
1990
+ data: callbackData
2083
1991
  },
2084
1992
  signal
2085
1993
  });
2086
- return with_response ? response : void 0;
2087
1994
  }
2088
1995
  /**
2089
1996
  * Sends a premium required response to an interaction
@@ -2092,7 +1999,7 @@ var InteractionsAPI = class {
2092
1999
  * @param interactionId - The id of the interaction
2093
2000
  * @param interactionToken - The token of the interaction
2094
2001
  * @param options - The options for sending the premium required response
2095
- * @deprecated Sending a premium-style button is the new Discord behaviour.
2002
+ * @deprecated Sending a premium-style button is the new Discord behavior.
2096
2003
  */
2097
2004
  async sendPremiumRequired(interactionId, interactionToken, { signal } = {}) {
2098
2005
  await this.rest.post(import_v106.Routes.interactionCallback(interactionId, interactionToken), {
@@ -2106,7 +2013,7 @@ var InteractionsAPI = class {
2106
2013
  };
2107
2014
 
2108
2015
  // src/api/invite.ts
2109
- var import_rest5 = require("@discordjs/rest");
2016
+ var import_rest4 = require("@discordjs/rest");
2110
2017
  var import_v107 = require("discord-api-types/v10");
2111
2018
  var InvitesAPI = class {
2112
2019
  constructor(rest) {
@@ -2125,7 +2032,7 @@ var InvitesAPI = class {
2125
2032
  */
2126
2033
  async get(code, query = {}, { signal } = {}) {
2127
2034
  return this.rest.get(import_v107.Routes.invite(code), {
2128
- query: (0, import_rest5.makeURLSearchParams)(query),
2035
+ query: (0, import_rest4.makeURLSearchParams)(query),
2129
2036
  signal
2130
2037
  });
2131
2038
  }
@@ -2142,7 +2049,7 @@ var InvitesAPI = class {
2142
2049
  };
2143
2050
 
2144
2051
  // src/api/monetization.ts
2145
- var import_rest6 = require("@discordjs/rest");
2052
+ var import_rest5 = require("@discordjs/rest");
2146
2053
  var import_v108 = require("discord-api-types/v10");
2147
2054
  var MonetizationAPI = class {
2148
2055
  constructor(rest) {
@@ -2154,44 +2061,16 @@ var MonetizationAPI = class {
2154
2061
  /**
2155
2062
  * Fetches the SKUs for an application.
2156
2063
  *
2157
- * @see {@link https://discord.com/developers/docs/resources/sku#list-skus}
2158
- * @param applicationId - The application id to fetch SKUs for
2064
+ * @see {@link https://discord.com/developers/docs/monetization/skus#list-skus}
2159
2065
  * @param options - The options for fetching the SKUs.
2160
2066
  */
2161
2067
  async getSKUs(applicationId, { signal } = {}) {
2162
2068
  return this.rest.get(import_v108.Routes.skus(applicationId), { signal });
2163
2069
  }
2164
- /**
2165
- * Fetches subscriptions for an SKU.
2166
- *
2167
- * @see {@link https://discord.com/developers/docs/resources/subscription#list-sku-subscriptions}
2168
- * @param skuId - The SKU id to fetch subscriptions for
2169
- * @param query - The query options for fetching subscriptions
2170
- * @param options - The options for fetching subscriptions
2171
- */
2172
- async getSKUSubscriptions(skuId, query, { signal } = {}) {
2173
- return this.rest.get(import_v108.Routes.skuSubscriptions(skuId), {
2174
- signal,
2175
- query: (0, import_rest6.makeURLSearchParams)(query)
2176
- });
2177
- }
2178
- /**
2179
- * Fetches a subscription for an SKU.
2180
- *
2181
- * @see {@link https://discord.com/developers/docs/resources/subscription#get-sku-subscription}
2182
- * @param skuId - The SKU id to fetch subscription for
2183
- * @param subscriptionId - The subscription id to fetch
2184
- * @param options - The options for fetching the subscription
2185
- */
2186
- async getSKUSubscription(skuId, subscriptionId, { signal } = {}) {
2187
- return this.rest.get(import_v108.Routes.skuSubscription(skuId, subscriptionId), {
2188
- signal
2189
- });
2190
- }
2191
2070
  /**
2192
2071
  * Fetches the entitlements for an application.
2193
2072
  *
2194
- * @see {@link https://discord.com/developers/docs/resources/entitlement#list-entitlements}
2073
+ * @see {@link https://discord.com/developers/docs/monetization/entitlements#list-entitlements}
2195
2074
  * @param applicationId - The application id to fetch entitlements for
2196
2075
  * @param query - The query options for fetching entitlements
2197
2076
  * @param options - The options for fetching entitlements
@@ -2199,13 +2078,13 @@ var MonetizationAPI = class {
2199
2078
  async getEntitlements(applicationId, query, { signal } = {}) {
2200
2079
  return this.rest.get(import_v108.Routes.entitlements(applicationId), {
2201
2080
  signal,
2202
- query: (0, import_rest6.makeURLSearchParams)(query)
2081
+ query: (0, import_rest5.makeURLSearchParams)(query)
2203
2082
  });
2204
2083
  }
2205
2084
  /**
2206
2085
  * Creates a test entitlement for an application's SKU.
2207
2086
  *
2208
- * @see {@link https://discord.com/developers/docs/resources/entitlement#create-test-entitlement}
2087
+ * @see {@link https://discord.com/developers/docs/monetization/entitlements#create-test-entitlement}
2209
2088
  * @param applicationId - The application id to create the entitlement for
2210
2089
  * @param body - The data for creating the entitlement
2211
2090
  * @param options - The options for creating the entitlement
@@ -2219,7 +2098,7 @@ var MonetizationAPI = class {
2219
2098
  /**
2220
2099
  * Deletes a test entitlement for an application's SKU.
2221
2100
  *
2222
- * @see {@link https://discord.com/developers/docs/resources/entitlement#delete-test-entitlement}
2101
+ * @see {@link https://discord.com/developers/docs/monetization/entitlements#delete-test-entitlement}
2223
2102
  * @param applicationId - The application id to delete the entitlement for
2224
2103
  * @param entitlementId - The entitlement id to delete
2225
2104
  * @param options - The options for deleting the entitlement
@@ -2230,7 +2109,7 @@ var MonetizationAPI = class {
2230
2109
  /**
2231
2110
  * Marks a given entitlement for the user as consumed. Only available for One-Time Purchase consumable SKUs.
2232
2111
  *
2233
- * @see {@link https://discord.com/developers/docs/resources/entitlement#consume-an-entitlement}
2112
+ * @see {@link https://discord.com/developers/docs/monetization/entitlements#consume-an-entitlement}
2234
2113
  * @param applicationId - The application id to consume the entitlement for
2235
2114
  * @param entitlementId - The entitlement id to consume
2236
2115
  * @param options - The options for consuming the entitlement
@@ -2241,7 +2120,7 @@ var MonetizationAPI = class {
2241
2120
  };
2242
2121
 
2243
2122
  // src/api/oauth2.ts
2244
- var import_rest7 = require("@discordjs/rest");
2123
+ var import_rest6 = require("@discordjs/rest");
2245
2124
  var import_v109 = require("discord-api-types/v10");
2246
2125
  var OAuth2API = class {
2247
2126
  constructor(rest) {
@@ -2258,7 +2137,7 @@ var OAuth2API = class {
2258
2137
  */
2259
2138
  generateAuthorizationURL(options) {
2260
2139
  const url = new URL(`${import_v109.RouteBases.api}${import_v109.Routes.oauth2Authorization()}`);
2261
- url.search = (0, import_rest7.makeURLSearchParams)(options).toString();
2140
+ url.search = (0, import_rest6.makeURLSearchParams)(options).toString();
2262
2141
  return url.toString();
2263
2142
  }
2264
2143
  /**
@@ -2270,7 +2149,7 @@ var OAuth2API = class {
2270
2149
  */
2271
2150
  async tokenExchange(body, { signal } = {}) {
2272
2151
  return this.rest.post(import_v109.Routes.oauth2TokenExchange(), {
2273
- body: (0, import_rest7.makeURLSearchParams)(body),
2152
+ body: (0, import_rest6.makeURLSearchParams)(body),
2274
2153
  passThroughBody: true,
2275
2154
  headers: {
2276
2155
  "Content-Type": "application/x-www-form-urlencoded"
@@ -2288,7 +2167,7 @@ var OAuth2API = class {
2288
2167
  */
2289
2168
  async refreshToken(body, { signal } = {}) {
2290
2169
  return this.rest.post(import_v109.Routes.oauth2TokenExchange(), {
2291
- body: (0, import_rest7.makeURLSearchParams)(body),
2170
+ body: (0, import_rest6.makeURLSearchParams)(body),
2292
2171
  passThroughBody: true,
2293
2172
  headers: {
2294
2173
  "Content-Type": "application/x-www-form-urlencoded"
@@ -2308,7 +2187,7 @@ var OAuth2API = class {
2308
2187
  */
2309
2188
  async getToken(body, { signal } = {}) {
2310
2189
  return this.rest.post(import_v109.Routes.oauth2TokenExchange(), {
2311
- body: (0, import_rest7.makeURLSearchParams)(body),
2190
+ body: (0, import_rest6.makeURLSearchParams)(body),
2312
2191
  passThroughBody: true,
2313
2192
  headers: {
2314
2193
  "Content-Type": "application/x-www-form-urlencoded"
@@ -2350,7 +2229,7 @@ var OAuth2API = class {
2350
2229
  */
2351
2230
  async revokeToken(applicationId, applicationSecret, body, { signal } = {}) {
2352
2231
  await this.rest.post(import_v109.Routes.oauth2TokenRevocation(), {
2353
- body: (0, import_rest7.makeURLSearchParams)(body),
2232
+ body: (0, import_rest6.makeURLSearchParams)(body),
2354
2233
  passThroughBody: true,
2355
2234
  headers: {
2356
2235
  Authorization: `Basic ${btoa(`${applicationId}:${applicationSecret}`)}`,
@@ -2363,7 +2242,7 @@ var OAuth2API = class {
2363
2242
  };
2364
2243
 
2365
2244
  // src/api/poll.ts
2366
- var import_rest8 = require("@discordjs/rest");
2245
+ var import_rest7 = require("@discordjs/rest");
2367
2246
  var import_v1010 = require("discord-api-types/v10");
2368
2247
  var PollAPI = class {
2369
2248
  constructor(rest) {
@@ -2385,7 +2264,7 @@ var PollAPI = class {
2385
2264
  async getAnswerVoters(channelId, messageId, answerId, query, { signal } = {}) {
2386
2265
  return this.rest.get(import_v1010.Routes.pollAnswerVoters(channelId, messageId, answerId), {
2387
2266
  signal,
2388
- query: (0, import_rest8.makeURLSearchParams)(query)
2267
+ query: (0, import_rest7.makeURLSearchParams)(query)
2389
2268
  });
2390
2269
  }
2391
2270
  /**
@@ -2440,30 +2319,8 @@ var RoleConnectionsAPI = class {
2440
2319
  }
2441
2320
  };
2442
2321
 
2443
- // src/api/soundboardSounds.ts
2444
- var import_v1012 = require("discord-api-types/v10");
2445
- var SoundboardSoundsAPI = class {
2446
- constructor(rest) {
2447
- this.rest = rest;
2448
- }
2449
- static {
2450
- __name(this, "SoundboardSoundsAPI");
2451
- }
2452
- /**
2453
- * Fetches all the soundboard default sounds.
2454
- *
2455
- * @see {@link https://discord.com/developers/docs/resources/soundboard#list-default-soundboard-sounds}
2456
- * @param options - The options for fetching the soundboard default sounds.
2457
- */
2458
- async getSoundboardDefaultSounds({ signal } = {}) {
2459
- return this.rest.get(import_v1012.Routes.soundboardDefaultSounds(), {
2460
- signal
2461
- });
2462
- }
2463
- };
2464
-
2465
2322
  // src/api/stageInstances.ts
2466
- var import_v1013 = require("discord-api-types/v10");
2323
+ var import_v1012 = require("discord-api-types/v10");
2467
2324
  var StageInstancesAPI = class {
2468
2325
  constructor(rest) {
2469
2326
  this.rest = rest;
@@ -2479,7 +2336,7 @@ var StageInstancesAPI = class {
2479
2336
  * @param options - The options for creating the new stage instance
2480
2337
  */
2481
2338
  async create(body, { reason, signal } = {}) {
2482
- return this.rest.post(import_v1013.Routes.stageInstances(), {
2339
+ return this.rest.post(import_v1012.Routes.stageInstances(), {
2483
2340
  body,
2484
2341
  reason,
2485
2342
  signal
@@ -2493,7 +2350,7 @@ var StageInstancesAPI = class {
2493
2350
  * @param options - The options for fetching the stage instance
2494
2351
  */
2495
2352
  async get(channelId, { signal } = {}) {
2496
- return this.rest.get(import_v1013.Routes.stageInstance(channelId), { signal });
2353
+ return this.rest.get(import_v1012.Routes.stageInstance(channelId), { signal });
2497
2354
  }
2498
2355
  /**
2499
2356
  * Edits a stage instance
@@ -2504,7 +2361,7 @@ var StageInstancesAPI = class {
2504
2361
  * @param options - The options for editing the stage instance
2505
2362
  */
2506
2363
  async edit(channelId, body, { reason, signal } = {}) {
2507
- return this.rest.patch(import_v1013.Routes.stageInstance(channelId), {
2364
+ return this.rest.patch(import_v1012.Routes.stageInstance(channelId), {
2508
2365
  body,
2509
2366
  reason,
2510
2367
  signal
@@ -2518,12 +2375,12 @@ var StageInstancesAPI = class {
2518
2375
  * @param options - The options for deleting the stage instance
2519
2376
  */
2520
2377
  async delete(channelId, { reason, signal } = {}) {
2521
- await this.rest.delete(import_v1013.Routes.stageInstance(channelId), { reason, signal });
2378
+ await this.rest.delete(import_v1012.Routes.stageInstance(channelId), { reason, signal });
2522
2379
  }
2523
2380
  };
2524
2381
 
2525
2382
  // src/api/sticker.ts
2526
- var import_v1014 = require("discord-api-types/v10");
2383
+ var import_v1013 = require("discord-api-types/v10");
2527
2384
  var StickersAPI = class {
2528
2385
  constructor(rest) {
2529
2386
  this.rest = rest;
@@ -2539,7 +2396,7 @@ var StickersAPI = class {
2539
2396
  * @param options - The options for fetching the sticker pack
2540
2397
  */
2541
2398
  async getStickerPack(packId, { signal } = {}) {
2542
- return this.rest.get(import_v1014.Routes.stickerPack(packId), { signal });
2399
+ return this.rest.get(import_v1013.Routes.stickerPack(packId), { signal });
2543
2400
  }
2544
2401
  /**
2545
2402
  * Fetches all of the sticker packs
@@ -2548,7 +2405,7 @@ var StickersAPI = class {
2548
2405
  * @param options - The options for fetching the sticker packs
2549
2406
  */
2550
2407
  async getStickers({ signal } = {}) {
2551
- return this.rest.get(import_v1014.Routes.stickerPacks(), { signal });
2408
+ return this.rest.get(import_v1013.Routes.stickerPacks(), { signal });
2552
2409
  }
2553
2410
  /**
2554
2411
  * Fetches all of the sticker packs
@@ -2568,12 +2425,12 @@ var StickersAPI = class {
2568
2425
  * @param options - The options for fetching the sticker
2569
2426
  */
2570
2427
  async get(stickerId, { signal } = {}) {
2571
- return this.rest.get(import_v1014.Routes.sticker(stickerId), { signal });
2428
+ return this.rest.get(import_v1013.Routes.sticker(stickerId), { signal });
2572
2429
  }
2573
2430
  };
2574
2431
 
2575
2432
  // src/api/thread.ts
2576
- var import_v1015 = require("discord-api-types/v10");
2433
+ var import_v1014 = require("discord-api-types/v10");
2577
2434
  var ThreadsAPI = class {
2578
2435
  constructor(rest) {
2579
2436
  this.rest = rest;
@@ -2589,7 +2446,7 @@ var ThreadsAPI = class {
2589
2446
  * @param options - The options for joining the thread
2590
2447
  */
2591
2448
  async join(threadId, { signal } = {}) {
2592
- await this.rest.put(import_v1015.Routes.threadMembers(threadId, "@me"), { signal });
2449
+ await this.rest.put(import_v1014.Routes.threadMembers(threadId, "@me"), { signal });
2593
2450
  }
2594
2451
  /**
2595
2452
  * Adds a member to a thread
@@ -2600,7 +2457,7 @@ var ThreadsAPI = class {
2600
2457
  * @param options - The options for adding the member to the thread
2601
2458
  */
2602
2459
  async addMember(threadId, userId, { signal } = {}) {
2603
- await this.rest.put(import_v1015.Routes.threadMembers(threadId, userId), { signal });
2460
+ await this.rest.put(import_v1014.Routes.threadMembers(threadId, userId), { signal });
2604
2461
  }
2605
2462
  /**
2606
2463
  * Removes the current user from a thread
@@ -2610,7 +2467,7 @@ var ThreadsAPI = class {
2610
2467
  * @param options - The options for leaving the thread
2611
2468
  */
2612
2469
  async leave(threadId, { signal } = {}) {
2613
- await this.rest.delete(import_v1015.Routes.threadMembers(threadId, "@me"), { signal });
2470
+ await this.rest.delete(import_v1014.Routes.threadMembers(threadId, "@me"), { signal });
2614
2471
  }
2615
2472
  /**
2616
2473
  * Removes a member from a thread
@@ -2621,7 +2478,7 @@ var ThreadsAPI = class {
2621
2478
  * @param options - The options for removing the member from the thread
2622
2479
  */
2623
2480
  async removeMember(threadId, userId, { signal } = {}) {
2624
- await this.rest.delete(import_v1015.Routes.threadMembers(threadId, userId), { signal });
2481
+ await this.rest.delete(import_v1014.Routes.threadMembers(threadId, userId), { signal });
2625
2482
  }
2626
2483
  /**
2627
2484
  * Fetches a member of a thread
@@ -2632,7 +2489,7 @@ var ThreadsAPI = class {
2632
2489
  * @param options - The options for fetching the member
2633
2490
  */
2634
2491
  async getMember(threadId, userId, { signal } = {}) {
2635
- return this.rest.get(import_v1015.Routes.threadMembers(threadId, userId), { signal });
2492
+ return this.rest.get(import_v1014.Routes.threadMembers(threadId, userId), { signal });
2636
2493
  }
2637
2494
  /**
2638
2495
  * Fetches all members of a thread
@@ -2642,13 +2499,13 @@ var ThreadsAPI = class {
2642
2499
  * @param options - The options for fetching the members
2643
2500
  */
2644
2501
  async getAllMembers(threadId, { signal } = {}) {
2645
- return this.rest.get(import_v1015.Routes.threadMembers(threadId), { signal });
2502
+ return this.rest.get(import_v1014.Routes.threadMembers(threadId), { signal });
2646
2503
  }
2647
2504
  };
2648
2505
 
2649
2506
  // src/api/user.ts
2650
- var import_rest9 = require("@discordjs/rest");
2651
- var import_v1016 = require("discord-api-types/v10");
2507
+ var import_rest8 = require("@discordjs/rest");
2508
+ var import_v1015 = require("discord-api-types/v10");
2652
2509
  var UsersAPI = class {
2653
2510
  constructor(rest) {
2654
2511
  this.rest = rest;
@@ -2664,7 +2521,7 @@ var UsersAPI = class {
2664
2521
  * @param options - The options for fetching the user
2665
2522
  */
2666
2523
  async get(userId, { signal } = {}) {
2667
- return this.rest.get(import_v1016.Routes.user(userId), { signal });
2524
+ return this.rest.get(import_v1015.Routes.user(userId), { signal });
2668
2525
  }
2669
2526
  /**
2670
2527
  * Returns the user object of the requester's account
@@ -2673,7 +2530,7 @@ var UsersAPI = class {
2673
2530
  * @param options - The options for fetching the current user
2674
2531
  */
2675
2532
  async getCurrent({ signal } = {}) {
2676
- return this.rest.get(import_v1016.Routes.user("@me"), { signal });
2533
+ return this.rest.get(import_v1015.Routes.user("@me"), { signal });
2677
2534
  }
2678
2535
  /**
2679
2536
  * Returns a list of partial guild objects the current user is a member of
@@ -2683,8 +2540,8 @@ var UsersAPI = class {
2683
2540
  * @param options - The options for fetching the guilds
2684
2541
  */
2685
2542
  async getGuilds(query = {}, { signal } = {}) {
2686
- return this.rest.get(import_v1016.Routes.userGuilds(), {
2687
- query: (0, import_rest9.makeURLSearchParams)(query),
2543
+ return this.rest.get(import_v1015.Routes.userGuilds(), {
2544
+ query: (0, import_rest8.makeURLSearchParams)(query),
2688
2545
  signal
2689
2546
  });
2690
2547
  }
@@ -2696,7 +2553,7 @@ var UsersAPI = class {
2696
2553
  * @param options - The options for leaving the guild
2697
2554
  */
2698
2555
  async leaveGuild(guildId, { signal } = {}) {
2699
- await this.rest.delete(import_v1016.Routes.userGuild(guildId), { signal });
2556
+ await this.rest.delete(import_v1015.Routes.userGuild(guildId), { signal });
2700
2557
  }
2701
2558
  /**
2702
2559
  * Edits the current user
@@ -2706,7 +2563,7 @@ var UsersAPI = class {
2706
2563
  * @param options - The options for editing the user
2707
2564
  */
2708
2565
  async edit(body, { signal } = {}) {
2709
- return this.rest.patch(import_v1016.Routes.user("@me"), { body, signal });
2566
+ return this.rest.patch(import_v1015.Routes.user("@me"), { body, signal });
2710
2567
  }
2711
2568
  /**
2712
2569
  * Fetches the guild member for the current user
@@ -2716,7 +2573,7 @@ var UsersAPI = class {
2716
2573
  * @param options - The options for fetching the guild member
2717
2574
  */
2718
2575
  async getGuildMember(guildId, { signal } = {}) {
2719
- return this.rest.get(import_v1016.Routes.userGuildMember(guildId), { signal });
2576
+ return this.rest.get(import_v1015.Routes.userGuildMember(guildId), { signal });
2720
2577
  }
2721
2578
  /**
2722
2579
  * Edits the guild member for the current user
@@ -2727,7 +2584,7 @@ var UsersAPI = class {
2727
2584
  * @param options - The options for editing the guild member
2728
2585
  */
2729
2586
  async editCurrentGuildMember(guildId, body = {}, { reason, signal } = {}) {
2730
- return this.rest.patch(import_v1016.Routes.guildMember(guildId, "@me"), {
2587
+ return this.rest.patch(import_v1015.Routes.guildMember(guildId, "@me"), {
2731
2588
  reason,
2732
2589
  body,
2733
2590
  signal
@@ -2741,7 +2598,7 @@ var UsersAPI = class {
2741
2598
  * @param options - The options for opening the DM
2742
2599
  */
2743
2600
  async createDM(userId, { signal } = {}) {
2744
- return this.rest.post(import_v1016.Routes.userChannels(), {
2601
+ return this.rest.post(import_v1015.Routes.userChannels(), {
2745
2602
  body: { recipient_id: userId },
2746
2603
  signal
2747
2604
  });
@@ -2753,7 +2610,7 @@ var UsersAPI = class {
2753
2610
  * @param options - The options for fetching the user's connections
2754
2611
  */
2755
2612
  async getConnections({ signal } = {}) {
2756
- return this.rest.get(import_v1016.Routes.userConnections(), { signal });
2613
+ return this.rest.get(import_v1015.Routes.userConnections(), { signal });
2757
2614
  }
2758
2615
  /**
2759
2616
  * Gets the current user's active application role connection
@@ -2763,7 +2620,7 @@ var UsersAPI = class {
2763
2620
  * @param options - The options for fetching the role connections
2764
2621
  */
2765
2622
  async getApplicationRoleConnection(applicationId, { signal } = {}) {
2766
- return this.rest.get(import_v1016.Routes.userApplicationRoleConnection(applicationId), {
2623
+ return this.rest.get(import_v1015.Routes.userApplicationRoleConnection(applicationId), {
2767
2624
  signal
2768
2625
  });
2769
2626
  }
@@ -2776,7 +2633,7 @@ var UsersAPI = class {
2776
2633
  * @param options - The options for updating the application role connection
2777
2634
  */
2778
2635
  async updateApplicationRoleConnection(applicationId, body, { signal } = {}) {
2779
- return this.rest.put(import_v1016.Routes.userApplicationRoleConnection(applicationId), {
2636
+ return this.rest.put(import_v1015.Routes.userApplicationRoleConnection(applicationId), {
2780
2637
  body,
2781
2638
  signal
2782
2639
  });
@@ -2784,8 +2641,8 @@ var UsersAPI = class {
2784
2641
  };
2785
2642
 
2786
2643
  // src/api/webhook.ts
2787
- var import_rest10 = require("@discordjs/rest");
2788
- var import_v1017 = require("discord-api-types/v10");
2644
+ var import_rest9 = require("@discordjs/rest");
2645
+ var import_v1016 = require("discord-api-types/v10");
2789
2646
  var WebhooksAPI = class {
2790
2647
  constructor(rest) {
2791
2648
  this.rest = rest;
@@ -2802,7 +2659,7 @@ var WebhooksAPI = class {
2802
2659
  * @param options - The options for fetching the webhook
2803
2660
  */
2804
2661
  async get(id, { token, signal } = {}) {
2805
- return this.rest.get(import_v1017.Routes.webhook(id, token), {
2662
+ return this.rest.get(import_v1016.Routes.webhook(id, token), {
2806
2663
  signal,
2807
2664
  auth: !token
2808
2665
  });
@@ -2817,7 +2674,7 @@ var WebhooksAPI = class {
2817
2674
  * @param options - The options for editing the webhook
2818
2675
  */
2819
2676
  async edit(id, body, { token, reason, signal } = {}) {
2820
- return this.rest.patch(import_v1017.Routes.webhook(id, token), {
2677
+ return this.rest.patch(import_v1016.Routes.webhook(id, token), {
2821
2678
  reason,
2822
2679
  body,
2823
2680
  signal,
@@ -2833,7 +2690,7 @@ var WebhooksAPI = class {
2833
2690
  * @param options - The options for deleting the webhook
2834
2691
  */
2835
2692
  async delete(id, { token, reason, signal } = {}) {
2836
- await this.rest.delete(import_v1017.Routes.webhook(id, token), {
2693
+ await this.rest.delete(import_v1016.Routes.webhook(id, token), {
2837
2694
  reason,
2838
2695
  signal,
2839
2696
  auth: !token
@@ -2854,8 +2711,8 @@ var WebhooksAPI = class {
2854
2711
  files,
2855
2712
  ...body
2856
2713
  }, { signal } = {}) {
2857
- return this.rest.post(import_v1017.Routes.webhook(id, token), {
2858
- query: (0, import_rest10.makeURLSearchParams)({ wait, thread_id }),
2714
+ return this.rest.post(import_v1016.Routes.webhook(id, token), {
2715
+ query: (0, import_rest9.makeURLSearchParams)({ wait, thread_id }),
2859
2716
  files,
2860
2717
  body,
2861
2718
  auth: false,
@@ -2874,8 +2731,8 @@ var WebhooksAPI = class {
2874
2731
  * @param options - The options for executing the webhook
2875
2732
  */
2876
2733
  async executeSlack(id, token, body, query = {}, { signal } = {}) {
2877
- await this.rest.post(import_v1017.Routes.webhookPlatform(id, token, "slack"), {
2878
- query: (0, import_rest10.makeURLSearchParams)(query),
2734
+ await this.rest.post(import_v1016.Routes.webhookPlatform(id, token, "slack"), {
2735
+ query: (0, import_rest9.makeURLSearchParams)(query),
2879
2736
  body,
2880
2737
  auth: false,
2881
2738
  signal
@@ -2892,8 +2749,8 @@ var WebhooksAPI = class {
2892
2749
  * @param options - The options for executing the webhook
2893
2750
  */
2894
2751
  async executeGitHub(id, token, body, query = {}, { signal } = {}) {
2895
- await this.rest.post(import_v1017.Routes.webhookPlatform(id, token, "github"), {
2896
- query: (0, import_rest10.makeURLSearchParams)(query),
2752
+ await this.rest.post(import_v1016.Routes.webhookPlatform(id, token, "github"), {
2753
+ query: (0, import_rest9.makeURLSearchParams)(query),
2897
2754
  body,
2898
2755
  signal,
2899
2756
  auth: false
@@ -2910,8 +2767,8 @@ var WebhooksAPI = class {
2910
2767
  * @param options - The options for fetching the message
2911
2768
  */
2912
2769
  async getMessage(id, token, messageId, query = {}, { signal } = {}) {
2913
- return this.rest.get(import_v1017.Routes.webhookMessage(id, token, messageId), {
2914
- query: (0, import_rest10.makeURLSearchParams)(query),
2770
+ return this.rest.get(import_v1016.Routes.webhookMessage(id, token, messageId), {
2771
+ query: (0, import_rest9.makeURLSearchParams)(query),
2915
2772
  auth: false,
2916
2773
  signal
2917
2774
  });
@@ -2931,8 +2788,8 @@ var WebhooksAPI = class {
2931
2788
  files,
2932
2789
  ...body
2933
2790
  }, { signal } = {}) {
2934
- return this.rest.patch(import_v1017.Routes.webhookMessage(id, token, messageId), {
2935
- query: (0, import_rest10.makeURLSearchParams)({ thread_id }),
2791
+ return this.rest.patch(import_v1016.Routes.webhookMessage(id, token, messageId), {
2792
+ query: (0, import_rest9.makeURLSearchParams)({ thread_id }),
2936
2793
  auth: false,
2937
2794
  body,
2938
2795
  signal,
@@ -2950,8 +2807,8 @@ var WebhooksAPI = class {
2950
2807
  * @param options - The options for deleting the message
2951
2808
  */
2952
2809
  async deleteMessage(id, token, messageId, query = {}, { signal } = {}) {
2953
- await this.rest.delete(import_v1017.Routes.webhookMessage(id, token, messageId), {
2954
- query: (0, import_rest10.makeURLSearchParams)(query),
2810
+ await this.rest.delete(import_v1016.Routes.webhookMessage(id, token, messageId), {
2811
+ query: (0, import_rest9.makeURLSearchParams)(query),
2955
2812
  auth: false,
2956
2813
  signal
2957
2814
  });
@@ -2971,7 +2828,6 @@ var API = class {
2971
2828
  this.oauth2 = new OAuth2API(rest);
2972
2829
  this.poll = new PollAPI(rest);
2973
2830
  this.roleConnections = new RoleConnectionsAPI(rest);
2974
- this.soundboardSounds = new SoundboardSoundsAPI(rest);
2975
2831
  this.stageInstances = new StageInstancesAPI(rest);
2976
2832
  this.stickers = new StickersAPI(rest);
2977
2833
  this.threads = new ThreadsAPI(rest);
@@ -2993,7 +2849,6 @@ var API = class {
2993
2849
  oauth2;
2994
2850
  poll;
2995
2851
  roleConnections;
2996
- soundboardSounds;
2997
2852
  stageInstances;
2998
2853
  stickers;
2999
2854
  threads;
@@ -3021,7 +2876,7 @@ __name(withFiles, "withFiles");
3021
2876
 
3022
2877
  // src/http-only/index.ts
3023
2878
  __reExport(http_only_exports, require("discord-api-types/v10"), module.exports);
3024
- var version = "2.1.0-dev.1732709132-97ffa201a";
2879
+ var version = "2.1.0-dev.1738965220-519aa3abe";
3025
2880
  // Annotate the CommonJS export names for ESM import in node:
3026
2881
  0 && (module.exports = {
3027
2882
  API,
@@ -3035,7 +2890,6 @@ var version = "2.1.0-dev.1732709132-97ffa201a";
3035
2890
  OAuth2API,
3036
2891
  PollAPI,
3037
2892
  RoleConnectionsAPI,
3038
- SoundboardSoundsAPI,
3039
2893
  StageInstancesAPI,
3040
2894
  StickersAPI,
3041
2895
  ThreadsAPI,