diff --git a/src/models/client.ts b/src/models/client.ts index 4f1e185..efed48b 100644 --- a/src/models/client.ts +++ b/src/models/client.ts @@ -198,7 +198,7 @@ export class Client extends HarmonyEventEmitter { enabled: options.enableSlash }) - if (options.fetchGatewayInfo === true) this.fetchGatewayInfo = true + this.fetchGatewayInfo = options.fetchGatewayInfo ?? false if (this.token === undefined) { try {