From 43e58834e9a3f93e3bdb2aa1f23960ae2b0f46cb Mon Sep 17 00:00:00 2001 From: Sergio Garcia Date: Mon, 13 Oct 2025 12:53:51 +0200 Subject: [PATCH 1/2] fix: Fix types --- client.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client.d.ts b/client.d.ts index 06dbfd9..8765709 100644 --- a/client.d.ts +++ b/client.d.ts @@ -52,7 +52,7 @@ type ClientOpts = { scrollback?: boolean; /** * Dictates whether messages throw errors by default. Set to 'false' to enable messages throwing errors. - * @default true + * @default false */ noFailMessages?: boolean; /** @@ -65,13 +65,13 @@ type ClientOpts = { /** * The time, in milliseconds, that your Bot will wait before attempting to login again after failing. * If this is 0, it will not attempt to login again. - * @default 10_000 + * @default 4_000 */ retryLogin?: number; /** * The time, in milliseconds, that your Bot will wait before attempting to reconnect after a disconnect. * If this is 0, it will not attempt to reconnect. - * @default 30_000 + * @default 5_000 */ autoReconnect?: number; /** From aea61ceb18e3c890092c0f4386fc5b797700a071 Mon Sep 17 00:00:00 2001 From: Sergio Garcia <47090312+singiamtel@users.noreply.github.com> Date: Mon, 13 Oct 2025 13:06:05 +0200 Subject: [PATCH 2/2] Update client.d.ts Co-authored-by: PartMan <47669599+PartMan7@users.noreply.github.com> --- client.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.d.ts b/client.d.ts index 8765709..7b943d9 100644 --- a/client.d.ts +++ b/client.d.ts @@ -51,7 +51,7 @@ type ClientOpts = { */ scrollback?: boolean; /** - * Dictates whether messages throw errors by default. Set to 'false' to enable messages throwing errors. + * Dictates whether messages throw errors by default. Set to 'true' to enable messages throwing errors. * @default false */ noFailMessages?: boolean;