Browse Source

Fix mention in embed title

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

2
index.js

@ -131,7 +131,7 @@ async function ban(message) {
const member = members.array()[0]; const member = members.array()[0];
const verificationEmbed = new Discord.MessageEmbed() const verificationEmbed = new Discord.MessageEmbed()
.setTitle(`Are you sure you would like to ban ${member}?`) .setTitle(`Are you sure you would like to ban <@${member.user.id}>?`)
.setDescription("React to your message to verify") .setDescription("React to your message to verify")
.setThumbnail(member.user.avatarURL()) .setThumbnail(member.user.avatarURL())
.setColor("fda172") .setColor("fda172")

Loading…
Cancel
Save