@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.
@@ -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
@@ -3172,7 +3186,7 @@ __name(withFiles, "withFiles");
3172
3186
 
3173
3187
  // src/http-only/index.ts
3174
3188
  export * from "discord-api-types/v10";
3175
- var version = "3.0.0-dev.1776730371-8ea7c7c7e";
3189
+ var version = "3.0.0-dev.1777075897-40ce0791a";
3176
3190
  export {
3177
3191
  API,
3178
3192
  ApplicationCommandsAPI,