public static async Task StopAsync(ulong guildId) { LavalinkPlayer player = lavalinkManager.GetPlayer(guildId); if (player.Playing == false) { return; } await player.PauseAsync(); }
public async Task PauseCmd() { LavalinkPlayer player = _lavaManager.GetPlayer(Context.Guild.Id); await player.PauseAsync(); }