> For the complete documentation index, see [llms.txt](https://ilinked1337.gitbook.io/anarchy/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ilinked1337.gitbook.io/anarchy/documentation/clients/configuration/discordsocketconfig.md).

# DiscordSocketConfig

Namespace: Discord.Gateway

### Inherits from

{% content-ref url="/pages/-MAGRUuCw9wZD4euaHUy" %}
[DiscordConfig](/anarchy/documentation/clients/configuration/discordconfig.md)
{% endcontent-ref %}

## Properties

| Name                       | Description                                                                                                                                                                           | Type                  |
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- |
| Cache                      | Whether to cache data or not. Caching can help speed up your bot, but will make it take up more memory                                                                                | bool                  |
| Intents                    | [Gateway Intents](https://discord.com/developers/docs/topics/gateway#gateway-intents) you want for your client (can help speed up your bot). This is mandatory if you're using API v8 | DiscordGatewayIntent? |
| VoiceChannelConnectTimeout | Max amount of time to wait for a voice channel connection                                                                                                                             | int                   |
| Shard                      | The [shard ](https://discord.com/developers/docs/topics/gateway#sharding)to use for the client                                                                                        | DiscordShard          |
