Table of Contents

Method UseVoiceNextAsync

Namespace
DSharpPlus.VoiceNext
Assembly
DSharpPlus.VoiceNext.dll

UseVoiceNextAsync(DiscordShardedClient, VoiceNextConfiguration)

Creates new VoiceNext clients on all shards in a given sharded client.

public static Task<IReadOnlyDictionary<int, VoiceNextExtension>> UseVoiceNextAsync(this DiscordShardedClient client, VoiceNextConfiguration config)

Parameters

client DiscordShardedClient

Discord sharded client to create VoiceNext instances for.

config VoiceNextConfiguration

Configuration for the VoiceNext clients.

Returns

Task<IReadOnlyDictionary<int, VoiceNextExtension>>

A dictionary of created VoiceNext clients.