Method SwitchToChannelAsync
- Namespace
- DisCatSharp.Extensions.SimpleMusicCommands.Commands
- Assembly
- DisCatSharp.Extensions.SimpleMusicCommands.dll
SwitchToChannelAsync(InteractionContext, DiscordChannel)
[SlashCommand("switch_to", "Switches to another channel", false, null, null)]
public Task SwitchToChannelAsync(InteractionContext ctx, DiscordChannel voiceChannel)
Parameters
ctxInteractionContextvoiceChannelDiscordChannel