@discordjs/core 3.0.0-dev.1783254248-7afe2015c → 3.0.0-dev.1784246195-c73e2a76d

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
@@ -2868,7 +2868,7 @@ var UsersAPI = class {
2868
2868
  /**
2869
2869
  * Gets the current user's active application role connection
2870
2870
  *
2871
- * @see {@link https://discord.com/developers/docs/resources/user#get-user-application-role-connection}
2871
+ * @see {@link https://docs.discord.com/developers/resources/user#get-current-user-application-role-connection}
2872
2872
  * @param applicationId - The id of the application
2873
2873
  * @param options - The options for fetching the role connections
2874
2874
  */
@@ -2881,7 +2881,7 @@ var UsersAPI = class {
2881
2881
  /**
2882
2882
  * Updates the current user's application role connection
2883
2883
  *
2884
- * @see {@link https://discord.com/developers/docs/resources/user#update-user-application-role-connection}
2884
+ * @see {@link https://docs.discord.com/developers/resources/user#update-current-user-application-role-connection}
2885
2885
  * @param applicationId - The id of the application
2886
2886
  * @param body - The data for updating the application role connection
2887
2887
  * @param options - The options for updating the application role connection
@@ -2893,6 +2893,19 @@ var UsersAPI = class {
2893
2893
  signal
2894
2894
  });
2895
2895
  }
2896
+ /**
2897
+ * Deletes the current user's application role connection
2898
+ *
2899
+ * @see {@link https://docs.discord.com/developers/resources/user#delete-current-user-application-role-connection}
2900
+ * @param applicationId - The id of the application
2901
+ * @param options - The options for deleting the application role connection
2902
+ */
2903
+ async deleteApplicationRoleConnection(applicationId, { auth, signal } = {}) {
2904
+ await this.rest.delete(Routes16.userApplicationRoleConnection(applicationId), {
2905
+ auth,
2906
+ signal
2907
+ });
2908
+ }
2896
2909
  };
2897
2910
 
2898
2911
  // src/api/voice.ts
@@ -3445,7 +3458,7 @@ __name(withFiles, "withFiles");
3445
3458
  // src/index.ts
3446
3459
  export * from "discord-api-types/v10";
3447
3460
  import { GatewayRateLimitError as GatewayRateLimitError2 } from "@discordjs/util";
3448
- var version = "3.0.0-dev.1783254248-7afe2015c";
3461
+ var version = "3.0.0-dev.1784246195-c73e2a76d";
3449
3462
  export {
3450
3463
  API,
3451
3464
  ApplicationCommandsAPI,