Beispiel #1
0
        public async Task GetUserProfileCommandAsync(string profileName)
        {
            UserProfile userProfile = await _lastFmService.GetProfileInfoAsync(profileName);

            _commandWebsocketService.SendCommandAsync("user " + profileName, Context.User.Username);
            await ReplyAsync($"[{userProfile.Name}] {userProfile.Url}");
        }