private async void CommandChanged(object sender, CommandRequestEventArgs e) { switch (e.Command) { case BotCommand.Pause: _radioPlaybackManager.Pause(); break; case BotCommand.Stop: _radioPlaybackManager.Stop(); break; case BotCommand.Start: await playChannel(currentUri); break; case BotCommand.VolumeDown: _radioPlaybackManager.Volume -= .1; SaveSettings("volume", _radioPlaybackManager.Volume.ToString()); _bot.SendMessage($"Volume is {_radioPlaybackManager.Volume}"); break; case BotCommand.VolumeUp: _radioPlaybackManager.Volume += .1; SaveSettings("volume", _radioPlaybackManager.Volume.ToString()); _bot.SendMessage($"Volume is {_radioPlaybackManager.Volume}"); break; } }