@discordjs/core 0.2.0-dev.1670803862-73300c7.0 → 0.2.0

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
@@ -675,6 +675,19 @@ var UsersAPI = class {
675
675
  body: { recipient_id: userId }
676
676
  });
677
677
  }
678
+ async getConnections() {
679
+ return this.rest.get(Routes8.userConnections());
680
+ }
681
+ async getApplicationRoleConnection(applicationId) {
682
+ return this.rest.get(
683
+ Routes8.userApplicationRoleConnection(applicationId)
684
+ );
685
+ }
686
+ async updateApplicationRoleConnection(applicationId, options) {
687
+ return this.rest.put(Routes8.userApplicationRoleConnection(applicationId), {
688
+ body: options
689
+ });
690
+ }
678
691
  };
679
692
  __name(UsersAPI, "UsersAPI");
680
693