mirror of
https://github.com/danbulant/discord.js
synced 2026-06-19 14:41:36 +00:00
Webpack build for branch 11.1-dev: 510ddab0f5
This commit is contained in:
parent
486f7cb5be
commit
b9ec7ecc84
1 changed files with 2 additions and 2 deletions
|
|
@ -7337,11 +7337,11 @@ class TextBasedChannel {
|
|||
* @returns {MessageCollector}
|
||||
* @example
|
||||
* // Create a message collector
|
||||
* const collector = channel.createCollector(
|
||||
* const collector = channel.createMessageCollector(
|
||||
* m => m.content.includes('discord'),
|
||||
* { time: 15000 }
|
||||
* );
|
||||
* collector.on('message', m => console.log(`Collected ${m.content}`));
|
||||
* collector.on('collect', m => console.log(`Collected ${m.content}`));
|
||||
* collector.on('end', collected => console.log(`Collected ${collected.size} items`));
|
||||
*/
|
||||
createMessageCollector(filter, options = {}) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue