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
ctxInteractionContextvoiceChannelDiscordChannel