Skip to content

Commit

Permalink
fix(tip): handle tip amount format number (#1593)
Browse files Browse the repository at this point in the history
  • Loading branch information
NguyenHuy1812 authored Jan 22, 2024
1 parent 4ad9242 commit c6d7fd5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/commands/tip/index/processor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -764,9 +764,9 @@ export async function handleCustomFollowTip(i: ButtonInteraction) {
await i.followUp({
content: `<@${i.user.id}> sent ${recipientDiscord} ${getEmojiToken(
payload.token as TokenEmojiKey,
)} **${
payload.amount
}** **${payload.token.toUpperCase()}**! .${mochiUtils.string.receiptLink(
)} **${mochiUtils.formatTokenDigit(
payload.amount,
)}** **${payload.token.toUpperCase()}**! .${mochiUtils.string.receiptLink(
dataTransfer?.external_id,
)}`,
components: [],
Expand Down

0 comments on commit c6d7fd5

Please sign in to comment.