Method ConfigureGatewayClient
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.dll
ConfigureGatewayClient(Action<GatewayClientOptions>)
Configures the gateway client used by DSharpPlus.
public DiscordClientBuilder ConfigureGatewayClient(Action<GatewayClientOptions> configure)
Parameters
configure
Action<GatewayClientOptions>A configuration delegate for the gateway client.
Returns
- DiscordClientBuilder
The current instance for chaining.