Closed mattmahn closed 4 years ago
So, I think for this, you will want to add another reaction to the message after the colors which is just for skipping, then we can get how many people reacted with that and compare it to the rest of the reactions. I added a new class and emoji for you to help out with this!
// sus.ts
import { ..., Emojis, ... } from "../utils";
.
.
.
msg.reactions.react(Emojis.SkipVote.snowflake);
// 2 minutes later
const skipVoteCount = msg.reactions.resolve(Emojis.SkipVote.snowflake).count;
I leave the rest to you 👍
I did this entirely on my phone. I'll deal with the extraneous reason description when ejecting someone later when I'm at a real computer...