Skip to content

Commit fb23fad

Browse files
Updated readme
1 parent f4ed77c commit fb23fad

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Step by step:<br/>
4747
- In this method you can use the interaction object as in your commands.
4848
3. Create the ``Paginator.get_page_count`` method (or set the ``static_page_count`` variable):</br>
4949
- In this method you get the interaction object passed.
50-
- Returns, how many pages you have. (~~If you have 'infinite' pages you can return ``None``~~ not possible yet)
50+
- Returns, how many pages you have. If you no page limit, return ``None`` or dont implement this method.
5151

5252

5353
## Example
@@ -93,13 +93,15 @@ async def show_guilds(ctx: commands.Context):
9393
<br>
9494

9595
additionally you implement these methods
96+
- ``Paginator.page_validator`` (custom page number validator)
97+
- ``Paginator.search_page`` (search for the first occurrence of a value on a page)
9698
- ``Paginator.on_setup`` (invoked when the paginator instance is created)
9799
- ``Paginator.on_start`` (invoked when a user clicked the start button)
98100
- ``Paginator.on_stop`` (invoked when a user clicked the stop button)
99101

100102
<br>
101103

102-
More examples can be found [here](https://github.com/philskillz-coder/discord-py-paginator/tree/main/examples)
104+
Examples on all methods and features can be found in the [examples folder](./examples)
103105

104106
## Changelog
105107
<details>
@@ -129,12 +131,12 @@ More examples can be found [here](https://github.com/philskillz-coder/discord-py
129131
Issue reports are appreciated.
130132
You can report one via
131133
- the repositories [issues page](https://github.com/philskillz-coder/discord-py-paginator/issues)
132-
- [Mail](mailto:[email protected]?subject=Issue%20report%20for%20discord-py-paginator&body=Repository%20link%3A%0D%0Ahttps%3A%2F%2Fgithub.com%2Fphilskillz-coder%2Fdiscord-py-paginator)
133-
- my [Discord Server](https://discord.gg/QjntPW9fHc)
134+
- [Mail](mailto:[email protected]?subject=Issue%20report%20for%20discord-py-paginator&body=Repository%20link%3A%0D%0Ahttps%3A%2F%2Fgithub.com%2Fphilskillz-coder%2Fdiscord-py-paginator)
135+
- my [Discord Server](https://discord.gg/APGDCfZbpW)
134136
- Discord direct message to `philskillz_`
135137

136138
thanks in advance.
137139

138140
## Config
139141
All config options can be found in [config.md file](config.md)<br>
140-
Examples can be found in [examples folder](examples)
142+
Examples can be found in [examples folder](./examples)

0 commit comments

Comments
 (0)