Page¶
Represents a single page inside a menu.
Adds a discord.py view to a page.
- Parameters
view (
View) – Specifies a view object to use on this page.- Return type
Generates reaction buttons when the page is displayed. Returns itself for fluent-style chaining.
Sets the function that will be called when the next event runs. Returns itself for fluent-style chaining.
Sets the function that will be called when the fail event runs. Returns itself for fluent-style chaining.
Sets the function that will be called when the cancel event runs. Returns itself for fluent-style chaining.
Sets the function that will be called when the timeout event runs. Returns itself for fluent-style chaining.
Returns a page stripped of Callables and Page-specific properties so we can send it as a standard Embed.
- Return type