@discordjs/core 3.0.0-dev.1776730371-8ea7c7c7e → 3.0.0-dev.1777075897-40ce0791a

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.mjs CHANGED
@@ -344,6 +344,20 @@ var ApplicationsAPI = class {
344
344
  async deleteEmoji(applicationId, emojiId, { auth, signal } = {}) {
345
345
  await this.rest.delete(Routes2.applicationEmoji(applicationId, emojiId), { auth, signal });
346
346
  }
347
+ /**
348
+ * Fetches an activity instance of an application
349
+ *
350
+ * @see {@link https://docs.discord.com/developers/resources/application#get-application-activity-instance}
351
+ * @param applicationId - The id of the application to fetch the activity instance of
352
+ * @param instanceId - The id of the activity instance to fetch
353
+ * @param options - The options for fetching the activity instance
354
+ */
355
+ async getActivityInstance(applicationId, instanceId, { auth, signal } = {}) {
356
+ return this.rest.get(Routes2.applicationActivityInstance(applicationId, instanceId), {
357
+ auth,
358
+ signal
359
+ });
360
+ }
347
361
  };
348
362
 
349
363
  // src/api/channel.ts
@@ -3412,7 +3426,7 @@ __name(withFiles, "withFiles");
3412
3426
  // src/index.ts
3413
3427
  export * from "discord-api-types/v10";
3414
3428
  import { GatewayRateLimitError as GatewayRateLimitError2 } from "@discordjs/util";
3415
- var version = "3.0.0-dev.1776730371-8ea7c7c7e";
3429
+ var version = "3.0.0-dev.1777075897-40ce0791a";
3416
3430
  export {
3417
3431
  API,
3418
3432
  ApplicationCommandsAPI,