Skip to content

Commit

Permalink
Merge pull request #350 from ekmartin/action_event_doc
Browse files Browse the repository at this point in the history
Add information about action events in the docs
  • Loading branch information
jirwin committed Apr 15, 2015
2 parents 31bc7d8 + 251d166 commit 1d5127d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/API.rst
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,13 @@ Events
Emitted when ever the server responds with an error-type message. The message
parameter is exactly as in the 'raw' event.

.. js:data:: 'action'

`function (from, to, text, message) { }`

Emitted whenever a user performs an action (e.g. `/me waves`).
The message parameter is exactly as in the 'raw' event.

Colors
------

Expand Down

0 comments on commit 1d5127d

Please sign in to comment.