private void CheckWinners(TwitchChat.User user, string argument) { if (user.Badges.HasFlag(TwitchChat.ChatBadges.Broadcaster) || (Settings.AllowMods && user.Badges.HasFlag(TwitchChat.ChatBadges.Moderator))) { List <KeyValuePair <string, Tuple <int, string> > > list; list = Winners.OrderByDescending(kvp => kvp.Value.Item1).ToList(); SendMessage("Top 5 Winners!"); for (int i = 0; i < 5; i++) { SendMessage(list[i].Key + ": " + list[i].Value.Item1 + " - " + list[i].Value.Item2); } } }