最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - How to count reaction Discord js - Stack Overflow

programmeradmin1浏览0评论

I made a poll mand in discord.js, but I'm not sure how I can get the amount of people who reacted to a specific emoji. This is my code:

if (!args[1]) return message.channel.send('You need to ask a question.');
let pollq = args.join(' ');
let whoask = msg.author.username;

const poll = new D.MessageEmbed()
 .setTitle('New Poll')
 .setAuthor(
  'Cleansound',
  ''
 )
 .setDescription(`${whoask} Baru Saja Membuat Pollin question baru`)
 .setDescription(`${pollq}`)
 .addField(` 
发布评论

评论列表(0)

  1. 暂无评论