Browse Source

Fix embed name mismatch for roleUpdateEmbed

master
Abheek Dhawan 4 years ago
parent
commit
86ef750400
  1. 2
      index.js

2
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);
}
});
});

Loading…
Cancel
Save