ActionsManager
ActionsManager
Section titled “ActionsManager”It’s a class that handles all the events that the client receives from the Discord API.
Kind: global class
new ActionsManager(message, client)
Section titled “new ActionsManager(message, client)”It defines a property called client, and sets it to the client variable
| Param | Type | Description |
|---|---|---|
| message | Object | The message object that was sent. |
| client | Client | The client that instantiated the message. |
actionsManager._patch(message) ⇒ Object
Section titled “actionsManager._patch(message) ⇒ Object”Parses and handles different types of Discord gateway messages.
Kind: instance method of ActionsManager
Returns: Object - - An instance of the corresponding message class.
| Param | Type | Description |
|---|---|---|
| message | Object | The message object received from the gateway. |