@discordjs/core 3.0.0-dev.1783513686-6e81ea771 → 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/http-only.d.mts +14 -6
- package/dist/http-only.d.ts +14 -6
- package/dist/http-only.js +16 -3
- package/dist/http-only.js.map +1 -1
- package/dist/http-only.mjs +16 -3
- package/dist/http-only.mjs.map +1 -1
- package/dist/index.d.mts +14 -6
- package/dist/index.d.ts +14 -6
- package/dist/index.js +16 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
package/dist/http-only.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/
|
|
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/
|
|
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
|
|
@@ -3205,7 +3218,7 @@ __name(withFiles, "withFiles");
|
|
|
3205
3218
|
|
|
3206
3219
|
// src/http-only/index.ts
|
|
3207
3220
|
export * from "discord-api-types/v10";
|
|
3208
|
-
var version = "3.0.0-dev.
|
|
3221
|
+
var version = "3.0.0-dev.1784246195-c73e2a76d";
|
|
3209
3222
|
export {
|
|
3210
3223
|
API,
|
|
3211
3224
|
ApplicationCommandsAPI,
|