Ejemplo n.º 1
0
        public static async Task StopAsync(ulong guildId)
        {
            LavalinkPlayer player = lavalinkManager.GetPlayer(guildId);

            if (player.Playing == false)
            {
                return;
            }

            await player.PauseAsync();
        }
Ejemplo n.º 2
0
 public async Task PauseCmd()
 {
     LavalinkPlayer player = _lavaManager.GetPlayer(Context.Guild.Id);
     await player.PauseAsync();
 }