Defines a module whose {@link filter()} method is used to manipulate or filter out messages as they arrive.
2.0.0
Gets passed a message, optionally executes actions upon it, and returns a message. The filter chain can be broken by returning an empty fulfilled promise.
The received message object.
The resulting message or an empty promise.
Returns a runtime object corresponding to the current module.
Gets called when the bot starts listening.
Gets called when the bot is shutting down.
Generated using TypeDoc
Defines a module whose {@link filter()} method is used to manipulate or filter out messages as they arrive.
2.0.0