Skip to content

Commit

Permalink
Add note about (Rapptz#16) in the README
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay Turner authored Aug 19, 2020
1 parent 84caae8 commit f04bfa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ async def delete_things(ctx):

The meat of the library is the `Menu` class but a `MenuPages` class is provided for the common use case of actually making a pagination session.

The `MenuPages` works similar to `Menu` except things are separated into a `PageSource`. The actual `MenuPages` rarely needs to be modified, instead we pass in a `PageSource` that deals with the data representation and formatting of the data we want to paginate.
The `MenuPages` works similar to `Menu` except things are separated into a `PageSource`. The actual `MenuPages` rarely needs to be modified, instead we pass in a `PageSource` that deals with the data representation and formatting of the data we want to paginate. Please note that if you supply a message with `MenuPages`, you may need to call `:coro: show_page` on your instanized menu otherwise the first page may not appear.

The library comes with a few built-in page sources:

Expand Down

0 comments on commit f04bfa1

Please # to comment.