@@ -47,7 +47,7 @@ Step by step:<br/>
47
47
- In this method you can use the interaction object as in your commands.
48
48
3 . Create the `` Paginator.get_page_count `` method (or set the `` static_page_count `` variable):</br >
49
49
- 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.
51
51
52
52
53
53
## Example
@@ -93,13 +93,15 @@ async def show_guilds(ctx: commands.Context):
93
93
<br >
94
94
95
95
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)
96
98
- `` Paginator.on_setup `` (invoked when the paginator instance is created)
97
99
- `` Paginator.on_start `` (invoked when a user clicked the start button)
98
100
- `` Paginator.on_stop `` (invoked when a user clicked the stop button)
99
101
100
102
<br >
101
103
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)
103
105
104
106
## Changelog
105
107
<details >
@@ -129,12 +131,12 @@ More examples can be found [here](https://github.com/philskillz-coder/discord-py
129
131
Issue reports are appreciated.
130
132
You can report one via
131
133
- 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 )
134
136
- Discord direct message to ` philskillz_ `
135
137
136
138
thanks in advance.
137
139
138
140
## Config
139
141
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