forked from Supositware/Haha-Yes
Fix custom emotes in starboard/shameboard
This commit is contained in:
parent
8546fb30f5
commit
e235f064d8
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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] });
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue