if (page <= 0 || page > maxPages) {
group.sendMessage(sys.message().escaped("Invalid page: %d, not in [%d, %d]", page, 1, maxPages));
return;
}
if (maxPages > 0) {
<BUG>List<String> lines = new LinkedList<>();
</BUG>
for (int i = 1; i <= maxPages; i++) {
SearchResultsPage pa = res.getPage(i);
for (SearchResult sr : pa) {

if (page <= 0 || page > maxPages) {
group.sendMessage(sys.message().escaped("Invalid page: %d, not in [%d, %d]", page, 1, maxPages));
return;
}
if (maxPages > 0) {
List<MessageBuilder> lines = new LinkedList<>();
for (int i = 1; i <= maxPages; i++) {
SearchResultsPage pa = res.getPage(i);
for (SearchResult sr : pa) {
