fix: refresh complete reaction state

This commit is contained in:
2026-08-13 18:52:47 +09:00
parent ca8afd5d73
commit 6221c763ce
3 changed files with 71 additions and 8 deletions
+2 -3
View File
@@ -1,10 +1,9 @@
import { EmbedBuilder, MessageReaction, PartialMessageReaction } from "discord.js";
import { EmbedBuilder, Message } from "discord.js";
export default function awardEmbed(
reaction: MessageReaction | PartialMessageReaction,
message: Message,
score: number,
): EmbedBuilder {
const message = reaction.message;
const reactionSummary = message.reactions.cache
.map((item) => `${item.emoji} ×${item.count}`)
.join(" · ");