From 166f742d02d475a5044f935ee638ae1e25075b9c Mon Sep 17 00:00:00 2001 From: iCrawl Date: Fri, 16 Dec 2022 14:09:51 +0100 Subject: [PATCH] fix(core): instantiate/export role connections --- packages/core/src/api/index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/core/src/api/index.ts b/packages/core/src/api/index.ts index a8282fd23..236b36684 100644 --- a/packages/core/src/api/index.ts +++ b/packages/core/src/api/index.ts @@ -4,6 +4,7 @@ import { ChannelsAPI } from './channel.js'; import { GuildsAPI } from './guild.js'; import { InteractionsAPI } from './interactions.js'; import { InvitesAPI } from './invite.js'; +import { RoleConnectionsAPI } from './roleConnections.js'; import { StickersAPI } from './sticker.js'; import { ThreadsAPI } from './thread.js'; import { UsersAPI } from './user.js'; @@ -15,6 +16,7 @@ export * from './channel.js'; export * from './guild.js'; export * from './interactions.js'; export * from './invite.js'; +export * from './roleConnections.js'; export * from './sticker.js'; export * from './thread.js'; export * from './user.js'; @@ -32,6 +34,8 @@ export class API { public readonly invites: InvitesAPI; + public readonly roleConnections: RoleConnectionsAPI; + public readonly stickers: StickersAPI; public readonly threads: ThreadsAPI; @@ -47,6 +51,7 @@ export class API { this.channels = new ChannelsAPI(rest); this.guilds = new GuildsAPI(rest); this.invites = new InvitesAPI(rest); + this.roleConnections = new RoleConnectionsAPI(rest); this.stickers = new StickersAPI(rest); this.threads = new ThreadsAPI(rest); this.users = new UsersAPI(rest);