fix types for snowflakes (#1156)

* fix types for snowflakes

* Update TextBasedChannel.js
This commit is contained in:
Gus Caplan
2017-02-03 20:37:58 -06:00
committed by Schuyler Cebulskie
parent 0b5eeb08f3
commit 59ff1d99ba
9 changed files with 23 additions and 23 deletions

View File

@@ -137,7 +137,7 @@ class MessageCollector extends EventEmitter {
this.channel.client.removeListener('message', this.listener);
/**
* Emitted when the Collector stops collecting.
* @param {Collection<string, Message>} collection A collection of messages collected
* @param {Collection<Snowflake, 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`. If it