> For the complete documentation index, see [llms.txt](https://discord-super-utils.gitbook.io/discord-super-utils/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://discord-super-utils.gitbook.io/discord-super-utils/managers/page-manager.md).

# Page Manager

## PageManager

#### **class discordSuperUtils.**&#x50;ageManage&#x72;**(ctx, messages, timeout=60, emojis=\[**⏪, ◀️, ▶️, ⏩], public=False, index=&#x30;**)**

Initializer of [**`PageManager`**](/discord-super-utils/managers/page-manager.md#pagemanager), represents a page manager that manages pages.

| [**Attributes**](/discord-super-utils/managers/page-manager.md#attributes) | [**Methods**](/discord-super-utils/managers/page-manager.md#methods) |
| -------------------------------------------------------------------------- | -------------------------------------------------------------------- |
| **`ctx`**                                                                  | **`run`**                                                            |
| **`messages`**                                                             |                                                                      |
| **`timeout`**                                                              |                                                                      |
| **`emojis`**                                                               |                                                                      |
| **`public`**                                                               |                                                                      |
| **`index`**                                                                |                                                                      |

### Attributes

* **`ctx` (discord.ext.commands.Context)**

  * The context used by PageManager.
  * Passed in initializer.

* **`messages` (list)**

  * List of pages the paginator will use.
  * Passed in initializer.

* **`timeout` (int)**

  * Duration of inactivity in seconds before page is locked.
  * Passed in initializer.
  * Defaults to 60.

* **`emojis` (list)**

  * List of control emojis.
  * Passed in initializer.
  * Defaults to **\[**⏪, ◀️, ▶️, ⏩].
  * Must be 4 emojis.

* **`public` (bool)**

  * Sets if other users can use the paginator.
  * Passed in initializer.
  * Defaults to false.

* **`index` (int)**
  * Sets the start index of the paginator.
  * Passed in initializer.
  * Defaults to 0.
  * Must be greater than -1 and smaller than number of pages, else, uses default value.

### Methods

* **`run()`**\
  Runs the paginator.\
  This method is a coroutine.\
  \
  **Raises**
  * **EmojiError**&#x20;
    * Passed % emojis when 4 are needed.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://discord-super-utils.gitbook.io/discord-super-utils/managers/page-manager.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
