Table of Contents

Method ConfigureServices

Namespace
DSharpPlus
Assembly
DSharpPlus.dll

ConfigureServices(Action<IServiceCollection>)

Configures services on this DiscordClientBuilder, enabling you to customize the library or your own services.

public DiscordClientBuilder ConfigureServices(Action<IServiceCollection> configure)

Parameters

configure Action<IServiceCollection>

The configuration delegate.

Returns

DiscordClientBuilder

The current instance for chaining.