Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RichDisplay

Klasa's RichDisplay, for helping paginated embeds with reaction buttons

Hierarchy

Index

Constructors

constructor

Properties

Protected _emojis

_emojis: Cache<ReactionMethods, string> = new Cache()

The emojis to use for this display

since

0.4.0

Protected _footered

_footered: boolean = false

If footers have been applied to all pages

since

0.4.0

Protected _template

_template: Embed

The embed template

since

0.4.0

Private footerPrefix

footerPrefix: string = ""

Adds a prefix to all footers (before page/pages)

since

0.5.0

Private footerSuffix

footerSuffix: string = ""

Adds a suffix to all footers (after page/pages)

since

0.5.0

infoPage

infoPage: Embed | null = null

An optional Info page/embed

since

0.4.0

pages

pages: Embed[] = []

The stored pages of the display

since

0.4.0

Accessors

Protected template

  • get template(): Embed

Methods

addPage

Private footer

  • footer(): void

Private resolveEmbedOrCallback

run

setEmojis

setFooterPrefix

  • setFooterPrefix(prefix: string): this

setFooterSuffix

  • setFooterSuffix(suffix: string): this

setInfoPage

useCustomFooters

  • useCustomFooters(): this

Generated using TypeDoc