public async Task ListQuotes() { if (QuoteHandler.QuoteList.Count > 0) { StringBuilder sb = new StringBuilder(); QuoteHandler.SpliceQuotes(); List <string> quotesList = new List <string>(); int id = 0; for (int i = 0; i < QuoteHandler.GetQuotesListLength; i++) { List <string> quotes = QuoteHandler.GetQuotes(i + 1); foreach (var quote in quotes) { id++; sb.Append(id + ": " + quote + "\n"); } quotesList.Add(sb.ToString()); sb.Clear(); } PaginatedMessage message = new PaginatedMessage { Title = "**Quote List**", Color = new Color(User.Load(Context.User.Id).AboutR, User.Load(Context.User.Id).AboutG, User.Load(Context.User.Id).AboutB), Pages = quotesList, Options = new PaginatedAppearanceOptions() { DisplayInformationIcon = false } }; await PagedReplyAsync(message); } else { await ReplyAsync("There are no quotes in the database."); } }