SearchResultsPage pa = res.getPage(i);
for (SearchResult sr : pa) {
MessageBuilder m = sys.message();
m.bold(true).escaped(sr.getTitle()).bold(false);
m.escaped(" (" + sr.getYear() + "): " + sr.getImdbId() + ", a " + sr.getType());
<BUG>lines.add(m.build());
}</BUG>
}
<BUG>PaginatedData pages = new PaginatedData(sys::message, lines, 20, false, false);
pages.send(sys, group, page - 1);</BUG>
} else {

SearchResultsPage pa = res.getPage(i);
for (SearchResult sr : pa) {
MessageBuilder m = sys.message();
m.bold(true).escaped(sr.getTitle()).bold(false);
m.escaped(" (" + sr.getYear() + "): " + sr.getImdbId() + ", a " + sr.getType());
lines.add(m);
}
}
PaginatedData pages = new PaginatedData(lines, 20);
pages.send(sys, group, page - 1);
} else {
