mirror of
https://github.com/danbulant/discord.js
synced 2026-05-24 20:42:27 +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
|
||||
* // Create a reaction collector
|
||||
* const collector = message.createReactionCollector(
|
||||
* (reaction, user) => reaction.emoji.id === '👌' && user.id === 'someID',
|
||||
* (reaction, user) => reaction.emoji.name === '👌' && user.id === 'someID',
|
||||
* { time: 15000 }
|
||||
* );
|
||||
* collector.on('collect', r => console.log(`Collected ${r.emoji.name}`));
|
||||
|
|
|
|||
Loading…
Reference in a new issue