Table of Contents
API reference

Class ExtensionMethods

Namespace
DisCatSharp.Voice
Assembly
DisCatSharp.Voice.dll

The discord client extensions.

public static class ExtensionMethods
Inheritance
ExtensionMethods
Inherited Members

Methods

ConnectAsync(DiscordChannel)

Connects to this voice channel using Voice.

GetVoice(DiscordClient)

Gets the active instance of Voice client for the DiscordClient.

GetVoiceAsync(DiscordShardedClient)

Retrieves a VoiceExtension instance for each shard.

UseVoice(DiscordClient, VoiceConfiguration?)

Creates a new Voice client with specified settings.

UseVoiceAsync(DiscordShardedClient, VoiceConfiguration?)

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