Browse Source

Fix embed name mismatch for roleDeleteEmbed

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

2
index.js

@ -434,7 +434,7 @@ client.on('roleDelete', role => {
} }
botLogsChannel = result.bot_logs_id; botLogsChannel = result.bot_logs_id;
if (role.guild.channels.cache.get(botLogsChannel)) { if (role.guild.channels.cache.get(botLogsChannel)) {
role.guild.channels.cache.get(botLogsChannel).send(messageReactionRemoveEmbed).catch(console.error); role.guild.channels.cache.get(botLogsChannel).send(roleDeleteEmbed).catch(console.error);
} }
}); });
}); });

Loading…
Cancel
Save