From b2af52c5fb10528dcf586eaf2e163a0a5b3cdf0d Mon Sep 17 00:00:00 2001 From: NguyenHuy1812 Date: Tue, 26 Mar 2024 11:29:30 +0700 Subject: [PATCH] fix(inbox)/fix-render-emoji-10-records-data-inbox (#1628) --- src/commands/inbox/index/processor.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/commands/inbox/index/processor.ts b/src/commands/inbox/index/processor.ts index ac90030a0..1d25d587f 100644 --- a/src/commands/inbox/index/processor.ts +++ b/src/commands/inbox/index/processor.ts @@ -115,7 +115,10 @@ export async function render(userDiscordId: string, ctx: Context) { .setCustomId("inbox_view-activity") .addOptions( list.map((a, i: number) => ({ - emoji: getEmoji(`NUM_${i + 1}` as EmojiKey), + emoji: + i === 9 + ? getEmoji("CHAT" as EmojiKey) + : getEmoji(`NUM_${i + 1}` as EmojiKey), label: `🟩 ${a.content}`, value: `value-${i}-${a.content}`, })),