mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
fix types for snowflakes (#1156)
* fix types for snowflakes * Update TextBasedChannel.js
This commit is contained in:
committed by
Schuyler Cebulskie
parent
0b5eeb08f3
commit
59ff1d99ba
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user