From 4a40dbf1b2c876b4d5525eecd0e10f019a625c9f Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Fri, 2 Apr 2021 21:30:00 -0500 Subject: [PATCH] Use role.name instead of role --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 5ac5a2a..f3c0254 100644 --- a/index.js +++ b/index.js @@ -303,7 +303,7 @@ async function roleRequest(message) { } const verificationEmbed = new Discord.MessageEmbed() - .setTitle(`\`${message.author.tag}\` would like the **${role}** role. Are they worthy?`) + .setTitle(`\`${message.author.tag}\` would like the **${role.name}** role. Are they worthy?`) .setDescription("React to this message to verify") .setThumbnail(message.author.avatarURL()) .setColor("fda172")