Browse Source

Fix messageReactionAdd embed name

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

2
index.js

@ -828,7 +828,7 @@ client.on('messageReactionAdd', (messageReaction, user) => {
if (result.bot_logs_id) { if (result.bot_logs_id) {
botLogsChannel = result.bot_logs_id; botLogsChannel = result.bot_logs_id;
if (messageReaction.message.guild.channels.cache.get(botLogsChannel)) { if (messageReaction.message.guild.channels.cache.get(botLogsChannel)) {
messageReaction.message.guild.channels.cache.get(botLogsChannel).send(bulkDeleteEmbed).catch(console.error); messageReaction.message.guild.channels.cache.get(botLogsChannel).send(messageReactionAddEmbed).catch(console.error);
} }
} }
}); });

Loading…
Cancel
Save