# eris-pages

> An extremely easy to use Embed Paginator for the Eris Discord Library

Latest version **1.0.8** (published 2020-07-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install eris-pages
pnpm add eris-pages
yarn add eris-pages
bun add eris-pages
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.8 |
| Published | 2020-07-16 |
| First published | 2020-07-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 16.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | whoastonic |
| Maintainers | npmstonic |
| Keywords | eris, pagination, embed, paginator, embed-pagination, discord |

## Links

- npm: https://www.npmjs.com/package/eris-pages
- Repository: https://github.com/whoastonic/eris-pagination
- Homepage: https://github.com/whoastonic/eris-pagination#readme
- Issues: https://github.com/whoastonic/eris-pagination/issues
- npm.io page: https://npm.io/package/eris-pages

## Dependencies (2)

- [eris](https://npm.io/package/eris.md) ^0.13.3
- [eris-reactions](https://npm.io/package/eris-reactions.md) https://github.com/whoastonic/eris-reactions.git

## Recent versions

- 1.0.8 (latest) — 2020-07-16
- 1.0.7 — 2020-07-16
- 1.0.6 — 2020-07-12
- 1.0.5 — 2020-07-12
- 1.0.4 — 2020-07-08
- 1.0.3 — 2020-07-08
- 1.0.2 — 2020-07-01
- 1.0.1 — 2020-07-01
- 1.0.0 — 2020-07-01
- 1.10.0-beta — 2020-07-01
- 1.0.9-beta — 2020-07-01
- 1.0.8-beta — 2020-07-01
- 1.0.7-beta — 2020-07-01
- 1.0.6-beta — 2020-07-01
- 1.0.5-beta — 2020-07-01
- … 5 more at https://npm.io/package/eris-pages/versions

## README

# Eris Pages

A base fork of [eris-pagination](https://github.com/riyacchi/eris-pagination), with some different features

## Base Features

All base features are the same as [eris-pagination](https://github.com/riyacchi/eris-pagination)

## New Features

We know handle Custom Reactions, or ***"Action Buttons"*** a simple
way to create a custom reaction to do some custom thing example:

```ts
import {
  ActionButton,
  PageBuilder
} from 'eris-pages'

// Embeds
const msgEmbeds = [
  {
    title: "An fantastic embed",
    description: "This embed is amazing"
  },
  {
    title: "Funny Video #1",
    description: "CalebCity - Any RPG game ever"
  },
  {
    title: "Funny Video #2",
    description: "rdcworld1 - How swordsmen be in anime"
  }
]

// Custom Action
const embedAction = {
  emote: '🎬'
  run: (msg) => msg.channel.createMessage(`Hello, Action!`)
}

// Message Handler
const builder = new PageBuilder(client, message)

const built = await builder
  .addPages(msgEmbeds)
  .addAction(embedAction)
  .construct()

built.start()
```

---
_Source: https://npm.io/package/eris-pages · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
