Table of Contents
API reference

Method ConnectAsync

Namespace
DisCatSharp.Extensions.SimpleMusicCommands.Commands
Assembly
DisCatSharp.Extensions.SimpleMusicCommands.dll

ConnectAsync(InteractionContext, DiscordChannel)

[SlashCommand("connect", "Connects to a channel", false, null, null)]
public Task ConnectAsync(InteractionContext ctx, DiscordChannel voiceChannel)

Parameters

ctx InteractionContext
voiceChannel DiscordChannel

Returns

Task