Table of Contents

Method AddVoiceNextExtension

Namespace
DSharpPlus.VoiceNext
Assembly
DSharpPlus.VoiceNext.dll

AddVoiceNextExtension(IServiceCollection, VoiceNextConfiguration)

Registers a new VoiceNext client to the service collection.

public static IServiceCollection AddVoiceNextExtension(this IServiceCollection services, VoiceNextConfiguration configuration)

Parameters

services IServiceCollection

The service collection to register to.

configuration VoiceNextConfiguration

Configuration for this VoiceNext client.

Returns

IServiceCollection

The same service collection for chaining