Fix custom emotes in starboard/shameboard

This commit is contained in:
Supositware 2023-07-10 01:13:29 +02:00
parent 8546fb30f5
commit e235f064d8
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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] });
}