From 862cb61735ff6e78a7cbf978ecf0be037f462e5a Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Fri, 2 Apr 2021 16:05:11 -0500 Subject: [PATCH] Rename roleUpdate variables --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 2b81f4a..8c6c691 100644 --- a/index.js +++ b/index.js @@ -440,8 +440,8 @@ client.on('roleDelete', role => { }); client.on('roleUpdate', (oldRole, newRole) => { - const messageReactionRemoveEmbed = new Discord.MessageEmbed() - .setTitle("Role Added") + const roleUpdateEmbed = new Discord.MessageEmbed() + .setTitle("Role Updated") .addField("Name", `${oldRole.name} >> ${newRole.name}`) .addField("Permissions", `${oldRole.permissions.bitfield} >> ${newRole.permissions.bitfield}`) .addField("Mentionable", `${oldRole.mentionable} >> ${newRole.mentionable}`)