From d24003eda4ff72a00e81cd191ca758c5007d9617 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Tue, 25 May 2021 01:10:00 +0200 Subject: [PATCH] :bug: fix default endpoint --- src/util/Config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/Config.ts b/src/util/Config.ts index a8a610fa..d0ef8121 100644 --- a/src/util/Config.ts +++ b/src/util/Config.ts @@ -26,7 +26,7 @@ export interface RateLimitOptions { export interface DefaultOptions { gateway: { - endpoint: string; + endpoint: string | null; }; general: { instance_id: string; @@ -114,7 +114,7 @@ export interface DefaultOptions { export const DefaultOptions: DefaultOptions = { gateway: { - endpoint: "ws://localhost:3001", + endpoint: null, }, general: { instance_id: Snowflake.generate(),