Пример #1
0
 /// <summary>
 ///     Change the volume of the player.
 /// </summary>
 /// <param name="volume">The new volume. Min: 0, Max: 150</param>
 /// <exception cref="InvalidPlayerException">Thrown if not connected to a voice channel.</exception>
 public async Task ChangeVolume(ushort volume)
 {
     await _player.ChangeVolume(volume);
 }