Browse Source

Remove backticks from around user to prevent it from showing ID

master
Abheek Dhawan 4 years ago
parent
commit
1a68b14976
  1. 2
      bot.js

2
bot.js

@ -892,7 +892,7 @@ client.on('messageReactionRemove', (messageReaction, user) => {
.setTitle("Reaction Removed") .setTitle("Reaction Removed")
.setAuthor(user.tag, user.avatarURL()) .setAuthor(user.tag, user.avatarURL())
.addField("Link", `[Click here!](${message.url})`) .addField("Link", `[Click here!](${message.url})`)
.addField("Reactions", `\`${user}\` removed their reaction ${messageReaction.emoji} on ${messageReaction.message.author}'s message in ${messageReaction.message.channel}.`) .addField("Reactions", `${user} removed their reaction ${messageReaction.emoji} on ${messageReaction.message.author}'s message in ${messageReaction.message.channel}.`)
.setFooter("Message ID: " + messageReaction.message.id) .setFooter("Message ID: " + messageReaction.message.id)
.setThumbnail(user.avatarURL()) .setThumbnail(user.avatarURL())
.setTimestamp() .setTimestamp()

Loading…
Cancel
Save