From 86ef75040048a229c9a0936a40eaf59256e6eb5a Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Fri, 2 Apr 2021 16:09:02 -0500 Subject: [PATCH] Fix embed name mismatch for roleUpdateEmbed --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index df7d5ab..02b73da 100644 --- a/index.js +++ b/index.js @@ -454,7 +454,7 @@ client.on('roleUpdate', (oldRole, newRole) => { } botLogsChannel = result.bot_logs_id; if (newRole.guild.channels.cache.get(botLogsChannel)) { - newRole.guild.channels.cache.get(botLogsChannel).send(messageReactionRemoveEmbed).catch(console.error); + newRole.guild.channels.cache.get(botLogsChannel).send(roleUpdateEmbed).catch(console.error); } }); });