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
IServiceCollectionThe service collection to register to.
configuration
VoiceNextConfigurationConfiguration for this VoiceNext client.
Returns
- IServiceCollection
The same service collection for chaining