Skip to content

ActionsManager

It’s a class that handles all the events that the client receives from the Discord API.

Kind: global class

It defines a property called client, and sets it to the client variable

ParamTypeDescription
messageObjectThe message object that was sent.
clientClientThe client that instantiated the message.

Parses and handles different types of Discord gateway messages.

Kind: instance method of ActionsManager
Returns: Object - - An instance of the corresponding message class.

ParamTypeDescription
messageObjectThe message object received from the gateway.