Exemple #1
0
        public async Task GetArtistProfileCommandAsync(string artistName)
        {
            ArtistProfile artistProfile = await _lastFmService.GetArtistInfoAsync(artistName);

            _commandWebsocketService.SendCommandAsync("artist " + artistName, Context.User.Username);
            await ReplyAsync($"[{artistProfile.Name}] {artistProfile.Bio.Summary}");
        }