Table of Contents

Method SetVolumeAsync

Namespace
DisCatSharp.Lavalink
Assembly
DisCatSharp.Lavalink.dll

Modifies the volume of the player.

public Task<LavalinkGuildPlayer> SetVolumeAsync(int volume)

Parameters

volume int

The volume of the player, range 0-1000, in percentage.

Returns

Task<LavalinkGuildPlayer>

The updated guild player.

Exceptions

ArgumentException

Thrown when the volume is out of range.