Guess I forgot how the paginator worked lol
This commit is contained in:
parent
968713dd18
commit
bd2470f986
|
@ -98,9 +98,7 @@ query ($name: String) {
|
||||||
reverse=True,
|
reverse=True,
|
||||||
)
|
)
|
||||||
# And convert to a string
|
# And convert to a string
|
||||||
output = "\n".join(
|
output = [f"**Score**: {x['score']} | **Title**: {x['title']}" for x in data]
|
||||||
f"**Score**: {x['score']} | **Title**: {x['title']}" for x in data
|
|
||||||
)
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
pages = Pages(ctx, entries=output, per_page=7)
|
pages = Pages(ctx, entries=output, per_page=7)
|
||||||
|
|
Loading…
Reference in a new issue