discord.js-poll-embed icon indicating copy to clipboard operation
discord.js-poll-embed copied to clipboard

Discord.js 12.2 fix

Open CCColda opened this issue 4 years ago • 0 comments

I fixed a few bugs;

  • When the user pressed on a reaction, crashes occured, because poll.reactions.get() doesn't exist. Fixed it by changing it to .resolve().
  • pollEmbed() consumed input emoji lists via .splice in the for loop for iterating the input options. Fixed it by creating a clone usedEmojiList.

CCColda avatar Jun 19 '20 09:06 CCColda