diff --git a/events/client/messageReactionAdd.js b/events/client/messageReactionAdd.js index 4c1d681..238b3e0 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 869819a..6f4e187 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] }); }