foxwells.vinboard: getReactions -> getReaction

This commit is contained in:
Cynthia Foxwell 2023-01-21 22:32:59 -07:00
parent d569d233c8
commit 4416320e4c

View file

@ -296,7 +296,7 @@ async function processReaction(_msg, reaction, user) {
return; return;
} }
const reacts = await msg.getReactions("\u2b50"); const reacts = await msg.getReaction("\u2b50");
const trueCount = reacts.filter( const trueCount = reacts.filter(
(reactor) => reactor.id != msg.author.id (reactor) => reactor.id != msg.author.id
).length; ).length;