mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
Fix 6am mistakes
This commit is contained in:
parent
0f9c67a1c1
commit
e0a19331c3
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ export async function updateStarboardMessageStarCount(
|
|||
debouncedUpdates[key] = setTimeout(() => {
|
||||
delete debouncedUpdates[key];
|
||||
const embed = starboardMessage.embeds[0]!;
|
||||
embed.fields!.shift(); // Remove pseudo footer
|
||||
embed.fields!.pop(); // Remove pseudo footer
|
||||
embed.fields!.push(createStarboardPseudoFooterForMessage(starboard, originalMessage, starEmoji, starCount)); // Create new pseudo footer
|
||||
starboardMessage.edit({ embed });
|
||||
}, DEBOUNCE_DELAY);
|
||||
|
|
Loading…
Add table
Reference in a new issue