public async Task ShowGuildTable(int numRows) { var repo = new GuildRepository(); var results = repo.GetFirstXRows(numRows).Result.ToList(); var sb = new StringBuilder(); sb.AppendLine($"First {numRows} rows of Guild Table"); sb.AppendLine($"Table: Guild | Rows In Table: {repo.GetAllAsync().Result.Count()}"); foreach (var result in results) { sb.AppendLine($"|Id:{result.Id}| Name: {result.Name}| Join Date: {result.JoinDate}| Last Connection: {result.LastConnection}|"); } await ReplyAsync(sb.ToString()); }