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,
|
||||
)
|
||||
# And convert to a string
|
||||
output = "\n".join(
|
||||
f"**Score**: {x['score']} | **Title**: {x['title']}" for x in data
|
||||
)
|
||||
output = [f"**Score**: {x['score']} | **Title**: {x['title']}" for x in data]
|
||||
|
||||
try:
|
||||
pages = Pages(ctx, entries=output, per_page=7)
|
||||
|
|
Loading…
Reference in a new issue