Options
All
  • Public
  • Public/Protected
  • All
Menu

The class that handle all the Menu logic

Hierarchy

  • EventEmitter
    • Menu

Index

Constructors

constructor

  • new Menu(interaction: CommandInteraction): Menu
  • The interaction that the menu will use.

    Parameters

    • interaction: CommandInteraction

    Returns Menu

Properties

collector

collector: any

ephemeral

ephemeral: boolean

interaction

interaction: CommandInteraction

pages

pages: pagesType[]

Methods

addPage

displayPage

isEphemeral

  • isEphemeral(isEphemeral: boolean): Menu
  • A function for make all the message in the menu epehemeral

    Parameters

    • isEphemeral: boolean

    Returns Menu

setPage

start

  • start(id: string): Menu

stop

  • stop(): void

Generated using TypeDoc