Browse Source

Fix collector emoji name

master
Abheek Dhawan 4 years ago
parent
commit
6fc642b876
  1. 2
      index.js

2
index.js

@ -691,7 +691,7 @@ client.on('messageDelete', message => {
client.on('message', message => { client.on('message', message => {
const filter = reaction => { const filter = reaction => {
return reaction.emoji.name === '👍'; return reaction.emoji.name === '😎';
}; };
const collector = message.createReactionCollector(filter); const collector = message.createReactionCollector(filter);

Loading…
Cancel
Save