Add tax to reciept

This commit is contained in:
Christopher Cookman 2023-07-30 22:32:19 -06:00
parent 0b0ad1c6d0
commit 21e2d0d0da
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -241,7 +241,7 @@ client.on("interactionCreate", async interaction => {
embeds: [{
title: "Transfer Receipt",
color: 0xffff00,
description: `You sent ${interaction.options.getNumber("amount")} coins to ${interaction.options.getMember("user").user}.`
description: `You sent ${interaction.options.getNumber("amount")} coins to ${interaction.options.getMember("user").user}.\nYou paid a tax of ${Math.floor(interaction.options.getNumber("amount"))} coins.`
}]
})