mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 00:53:31 +01:00
feat(ClientApplication): add role connections (#9072)
* feat: add add role connections * feat: add add role connections * fix: export new class in the index * Update typings/rawDataTypes.d.ts Co-authored-by: Aura Román <kyradiscord@gmail.com> * chore: invite scope * docs(ApplicationRoleConnectionMetadata): add docstring for the class * docs(Constants): fix ApplicationRoleConnectionMetadataTypes jsdoc syntax --------- Co-authored-by: Aura Román <kyradiscord@gmail.com> Co-authored-by: SpaceEEC <spaceeec@yahoo.com>
This commit is contained in:
@@ -56,6 +56,16 @@ class Application extends Base {
|
||||
} else {
|
||||
this.icon ??= null;
|
||||
}
|
||||
|
||||
if ('role_connections_verification_url' in data) {
|
||||
/**
|
||||
* This application's role connection verification entry point URL
|
||||
* @type {?string}
|
||||
*/
|
||||
this.roleConnectionsVerificationURL = data.role_connections_verification_url;
|
||||
} else {
|
||||
this.roleConnectionsVerificationURL ??= null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user