Skip to content

Commit

Permalink
Fix reaction collector example (discordjs#1513)
Browse files Browse the repository at this point in the history
  • Loading branch information
novara754 authored and Ratismal committed Jul 5, 2017
1 parent f128c98 commit 908db0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/Message.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`));
Expand Down

0 comments on commit 908db0a

Please sign in to comment.