1
0
Fork 0
mirror of synced 2024-05-05 05:02:30 +12:00

Guess I forgot how the paginator worked lol

This commit is contained in:
Dan Hess 2021-03-31 23:50:13 -08:00
parent 968713dd18
commit bd2470f986

View file

@ -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)