From 793435c2b343ea730cd34a0e618146f13f33a50f Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Fri, 2 Apr 2021 20:35:36 -0500 Subject: [PATCH] Use embed for bans --- index.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index c977942..16f78ac 100644 --- a/index.js +++ b/index.js @@ -130,7 +130,12 @@ async function ban(message) { const member = members.array()[0]; - const verificationMessage = message.reply(`are you sure you would like to ban ${member}?`); + const verificationEmbed = new Discord.MessageEmbed() + .setTitle(`Are you sure you would like to ban ${member}?`) + .setDescription("React to your message to verify") + .setThumbnail(member.user.avatarURL()) + .setColor("fda172") + .setTimestamp(); message.react('👍'); message.react('👎'); const filter = (reaction, user) => {