Browse Source

Use numEmoji instead of numEmoji-1

master
Abheek Dhawan 4 years ago
parent
commit
d21389307e
  1. 2
      index.js

2
index.js

@ -361,7 +361,7 @@ client.on('messageReactionAdd', (messageReaction, user) => {
const channelCreateEmbed = new Discord.MessageEmbed() const channelCreateEmbed = new Discord.MessageEmbed()
.setTitle("Reaction Added") .setTitle("Reaction Added")
.addField("Message", messageContent) .addField("Message", messageContent)
.addField("Reactions", `${userTag} reacted with ${emoji}, along with ${numEmoji - 1} other people in #${messageReaction.message.channel.name}.`) .addField("Reactions", `${userTag} reacted with ${emoji}, along with ${numEmoji} other people in #${messageReaction.message.channel.name}.`)
.setFooter("Emoji ID: " + messageReaction.emoji.id) .setFooter("Emoji ID: " + messageReaction.emoji.id)
.setTimestamp() .setTimestamp()
.setColor('00aaff'); .setColor('00aaff');

Loading…
Cancel
Save