diff --git a/events/client/messageReactionAdd.js b/events/client/messageReactionAdd.js index 4c1d6818..238b3e0f 100644 --- a/events/client/messageReactionAdd.js +++ b/events/client/messageReactionAdd.js @@ -128,7 +128,7 @@ export default { .setFooter({ text: `${emote} ${reactionCount}` }) .setTimestamp(); - if (reaction.message.guild.emojis.resolve(emote)) Embed.setFooter(reactionCount, reaction.message.guild.emojis.resolve(emote).url); + if (reaction.message.guild.emojis.resolve(emote)) Embed.setFooter({ text: `${reactionCount}`, iconURL: reaction.message.guild.emojis.resolve(emote).url }); let description = null; diff --git a/events/client/messageReactionRemove.js b/events/client/messageReactionRemove.js index 869819a5..6f4e1870 100644 --- a/events/client/messageReactionRemove.js +++ b/events/client/messageReactionRemove.js @@ -111,7 +111,7 @@ export default { .setFooter({ text: `${emote} ${reactionCount}` }) .setTimestamp(); - if (reaction.message.guild.emojis.resolve(emote)) Embed.setFooter(reactionCount, reaction.message.guild.emojis.resolve(emote).url); + if (reaction.message.guild.emojis.resolve(emote)) Embed.setFooter({ text: `${reactionCount}`, iconURL: reaction.message.guild.emojis.resolve(emote).url }); message.edit({ embeds: [Embed] }); }