Pronto logo

Pronto

Namespace

events

Members

Type Definitions

EventHandler(event, …args) → {void}

An event handler function to execute when specified event(s) are emitted

Parameters

  • event string

    The event that was emitted

  • args * <repeatable>

    The emitted arguments

Returns

  • void

Source

EventModule

The complete <EventModule> object for one of Pronto's event module

Type

  • Object

Properties

  • bot Array.<string>

    A string[] of valid <Client>#event(s) that this <EventModule> applies to

  • process Array.<string>

    A string[] of valid <Process>#event(s) that this <EventModule> applies to

  • handler events.EventHandler

    The event handler function to execute when specified event(s) are emitted

Source