Fix documentation

This commit is contained in:
Amish Shah
2016-08-31 20:40:08 +01:00
parent 1da8ec7ddd
commit e42f6b1024
2 changed files with 3 additions and 2 deletions

View File

@@ -96,7 +96,8 @@ class MessageCollector extends EventEmitter {
this.channel.client.removeListener('message', this.listener);
/**
* Emitted when the Collector stops collecting.
* @param {Collection<String, Message>} A collection of messages collected during the lifetime of the Collector.
* @param {Collection<String, Message>} collection A collection of messages collected
* during the lifetime of the Collector.
* Mapped by the ID of the Messages.
* @param {String} reason The reason for the end of the collector. If it ended because it reached the specified time
* limit, this would be `time`. If you invoke `.stop()` without specifying a reason, this would be `user`.