#reaction leaderboard

8 messages · Page 1 of 1 (latest)

warm schooner
#

making a leaderboard for reactions, i wanna store in a json file the points , each point correspond to the emoji. Now i see, there are guild emojis and standard emojis. How do i differnetiate b/w them and store in json and when soeone reacts i can get from json and see this emoji is that one. Standard emojis dont have IDS but names and they are unicode i think? so just store them ?

wicked daggerBOT
#
  • 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!
thorny bladeBOT
#
  • For unicode emojis (twemoji): learn more
  • Custom emojis: /<?(a)?:?(\w{2,32}):(\d{17,19})>?/ learn more
crisp void
#

these are regexes used to determine the type of emote

#

you can store regular emotes just fine

merry glen
#

Just store the Unicode, yeah

warm schooner
#

yep unicode storage works fine

warm schooner