Browse Source

Fix footer for messageReactionAdd

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

2
index.js

@ -362,7 +362,7 @@ client.on('messageReactionAdd', (messageReaction, user) => {
.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 - 1} other people in ${messageReaction.message.channel.name}.`)
.setFooter("ID: " + channelID) .setFooter("Emoji ID: " + messageReaction.emoji.id)
.setTimestamp() .setTimestamp()
.setColor('00aaff'); .setColor('00aaff');
collection.findOne({ guild_id: messageReaction.message.guild.id}, (error, result) => { collection.findOne({ guild_id: messageReaction.message.guild.id}, (error, result) => {

Loading…
Cancel
Save