private async Task HandleList(ChatMessage msg) { Relationships relation; if (m_currentSettings.Users.TryGetValue(msg.UserId, out relation)) { string output = "Your current friends are "; List <int> friends; lock (relation.Friends) { friends = relation.Friends.ToList <int>(); } output += await CommandUtils.FormatUserIds(friends, 250); await CommandUtils.SendResponse(m_firehose, msg, output, true); } else { await CommandUtils.SendResponse(m_firehose, msg, "It doesn't look like you have any friends yet. 😞", true); return; } }