Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions client.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ type ClientOpts = {
*/
scrollback?: boolean;
/**
* Dictates whether messages throw errors by default. Set to 'false' to enable messages throwing errors.
* @default true
* Dictates whether messages throw errors by default. Set to 'true' to enable messages throwing errors.
* @default false
*/
noFailMessages?: boolean;
/**
Expand All @@ -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;
/**
Expand Down
Loading