# DiscordSocketConfig

Namespace: Discord.Gateway

### Inherits from

{% content-ref url="discordconfig" %}
[discordconfig](discordconfig)
{% 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          |
