Example #1
0
 /// <summary>
 ///     Connect to a voice channel.
 /// </summary>
 /// <param name="channel">The voice channel to connect to.</param>
 /// <exception cref="InvalidPlayerException">Thrown if already connected to a voice channel.</exception>
 public async Task Join(IVoiceChannel channel)
 {
     await _player.Join(channel);
 }