> For the complete documentation index, see [llms.txt](https://dlite.js.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dlite.js.org/typedefs/clientoptions.md).

# clientOptions

{% hint style="info" %}
the timeout option should increase as your bot get into more server to include time for cache. All client events will start being triggered once the ready event is fired
{% endhint %}

{% hint style="danger" %}
fetchAllUsers are not recommended for bots in more than 2500 servers as it could cause a 429 rate limited error.
{% endhint %}

{% hint style="info" %}
To calculate the intent value, you could use [this tool](https://ziad87.net/intents/) online to calculate it.
{% endhint %}

| Title         | Required? | Description                                                                                                                                                                                                                                                                                                                                                                        | Type    |
| ------------- | --------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
| intent        | false     | The intent number that the bot need \| default: 32509(use 32767 for full intent access)                                                                                                                                                                                                                                                                                            | number  |
| timeout       | false     | <p>The time in milisecond that the bot will</p><p>timeout if connection is not successful. This will also be the time that will cut all caches and run the ready event</p><p>Requirements: < 600000 ms and > 2000 ms</p><p>Default: 5000 ms</p>                                                                                                                                    | number  |
| fetchAllUsers | false     | <p>Cache all users using your bot. You need to have SERVER MEMBERS INTENT enabled on your developer portal and have GUILD\_MEMBERS intent included in the intent number or only 1 member per server will be cached. By setting this to true intent number will automatically be switched to 32767 unless you set <code>intentsForce</code> to true</p><p></p><p>Default: false</p> | boolean |
| intentsForce  | false     | Lock the intent string you or the library have provided, and no other place will be allowed to change this intent                                                                                                                                                                                                                                                                  |         |
