From 2c690771eeac83fb80b4325fde7079c4cf5f5efc Mon Sep 17 00:00:00 2001 From: socram03 Date: Tue, 6 Jun 2023 14:34:47 +0000 Subject: [PATCH] fix(core): gateway config is Partial<> --- packages/core/src/session.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/session.ts b/packages/core/src/session.ts index 3db1a9c..fbe085a 100644 --- a/packages/core/src/session.ts +++ b/packages/core/src/session.ts @@ -1,6 +1,6 @@ import type { BiscuitRESTOptions, CDNRoutes, Routes } from '@biscuitland/rest'; import { CDN, BiscuitREST, Router } from '@biscuitland/rest'; -import { When } from '@biscuitland/common'; +import { Identify, When } from '@biscuitland/common'; import EventEmitter2 from 'eventemitter2'; import { MainManager, getBotIdFromToken } from '.'; import { GatewayManager, CreateGatewayManagerOptions, GatewayEvents } from '@biscuitland/ws'; @@ -112,5 +112,5 @@ export interface BiscuitOptions { intents: number | GatewayIntentBits; rest?: BiscuitREST; defaultRestOptions?: Partial; - defaultGatewayOptions?: Omit; + defaultGatewayOptions?: Identify>>; }