#Already reacted

6 messages · Page 1 of 1 (latest)

low sinew
#

Hey I’m making a starboard system and it works fine except is there a way to check if someone already reacted before without having to store every messages previous reactions? As right now if you spam the reaction off on off on, the count just keeps going up

sterile dragonBOT
#
  • What's your exact discord.js npm list discord.js and node node -v version?
  • Not a discord.js issue? Check out #1081585952654360687.
  • Consider reading #how-to-get-help to improve your question!
  • Explain what exactly your issue is.
  • Post the full error stack trace, not just the top part!
  • Show your code!
  • Issue solved? Press the button!
  • Marked as resolved by OP
deep magnetBOT
sudden vessel
#

You don’t need to, as you can get the actual reaction count from it, not calculate yourself by +1

low sinew
wheat tiger
#

May be totally wrong here but if you’re using a db why not just have a like, value with the people who have already reacted in there. "reacted_users": [array of ids]