API Docs for: 0.9.1
Show:

PreceptorListener Class

Constructor

PreceptorListener

()

Methods

getConfiguration

() Object

Gets the configuration supplied

Returns:

getOptions

() Object

Gets the options

Returns:

getPlaceholder

() Object

Gets the placeholder and their replacements

Returns:

getRelayedMessages

() String[]

Gets a list of relayed messages

Returns:

parse

(
  • text
  • [placeholder]
)
String

Inherited from AbstractListener but overwritten in lib/listener/preceptor.js:36

Parses a string and extracts message information

Parameters:

Returns:

processPlaceholder

(
  • text
  • [placeholder]
)
String

Processes a text with the placeholder

Parameters:

Returns:

triggerMessage

(
  • messageType
  • data
)

Triggers a message

Parameters: