Table of Contents

Method ConfigureRestClient

Namespace
DSharpPlus
Assembly
DSharpPlus.dll

ConfigureRestClient(Action<RestClientOptions>)

Configures the rest client used by DSharpPlus.

public DiscordClientBuilder ConfigureRestClient(Action<RestClientOptions> configure)

Parameters

configure Action<RestClientOptions>

A configuration delegate for the rest client.

Returns

DiscordClientBuilder

The current instance for chaining.