- Source:
Message collector object, intended for menus
Members
(static) collected :Array
- Source:
An array of collected messages
Type:
- Array
Methods
(static) collector.next() → {Promise.<external:"Eris.Message">}
- Source:
Resolves when message is collected, and rejects when collector has ended
Returns:
- Type
- Promise.<external:"Eris.Message">
(static) collector.passMessage() → {Boolean}
- Source:
Pass a message object to be filtered
Returns:
- Type
- Boolean
(static) collector.stop()
- Source:
Stop collecting messages