mirror of
https://github.com/danbulant/discord.js
synced 2026-06-07 08:41:29 +00:00
Fix reaction collector example (#1513)
This commit is contained in:
parent
0baa59b679
commit
874e94992b
1 changed files with 1 additions and 1 deletions
|
|
@ -254,7 +254,7 @@ class Message {
|
||||||
* @example
|
* @example
|
||||||
* // Create a reaction collector
|
* // Create a reaction collector
|
||||||
* const collector = message.createReactionCollector(
|
* const collector = message.createReactionCollector(
|
||||||
* (reaction, user) => reaction.emoji.id === '👌' && user.id === 'someID',
|
* (reaction, user) => reaction.emoji.name === '👌' && user.id === 'someID',
|
||||||
* { time: 15000 }
|
* { time: 15000 }
|
||||||
* );
|
* );
|
||||||
* collector.on('collect', r => console.log(`Collected ${r.emoji.name}`));
|
* collector.on('collect', r => console.log(`Collected ${r.emoji.name}`));
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue