Method UseVoiceNext
- Namespace
- DSharpPlus.VoiceNext
- Assembly
- DSharpPlus.VoiceNext.dll
UseVoiceNext(DiscordClientBuilder, VoiceNextConfiguration)
Registers a new VoiceNext client to the specified client builder.
public static DiscordClientBuilder UseVoiceNext(this DiscordClientBuilder builder, VoiceNextConfiguration configuration)
Parameters
builder
DiscordClientBuilderThe builder to register to.
configuration
VoiceNextConfigurationConfiguration for this VoiceNext client.
Returns
- DiscordClientBuilder
The same builder for chaining