tc
Privateunrated
Content
22 lines{=():}{=(largs):{lower:{args}}}
{=(COMMENT):ERROR HANDLING}
{=(allNum):{replace(m,1):{replace(k,1):{replace(e,1):{largs}}}}}
{=(isNum):{in({m:sgn({allNum})}):0 1}}
{{if({isNum}==false):blacklist({if(=={args}):You have to enter an amount. Proper format:```[p]tc [amount]```|Please enter a valid amount for me to calculate!}):{server(id)}}}
{=(COMMENT):CALCULATIONS AND OUTPUT FORMATTING}
{=(paid):{m:trunc(round({replace(÷,/):{replace(x,*):{replace(m,e6):{replace(k,e3):{largs}}}}}))}}
{=(out.paid):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{paid}}}}}}}
{=(deductionRate):0.03}
{=(out.rate):3%}
{=(additionRate):{m:1-{deductionRate}}}
{=(lost):{m:trunc(round({paid}*{deductionRate}))}}
{=(out.lost):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{lost}}}}}}}
{=(get):{m:trunc(round({paid}-{lost}))}}
{=(out.get):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{get}}}}}}}
{=(give):{m:trunc(round({paid}/{additionRate}))}}
{=(out.give):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{give}}}}}}}
{=(em.footer):TAX RATE: {out.rate} • Custom Command by Anik#0584}
{embed(color):#3AADDC}
`pls give {out.give}`Embed
1 line{"color": 59135, "title": "Tax Calculator for Dank Memer", "footer": {"text": "{server}", "icon_url": "{server(icon)}"}, "description": "**Amount Paid: `⏣ {out.paid}`**\n**User Gets: `⏣ {out.get}`**\n**Lost as tax: `⏣ {out.lost}`**\n\n*To send someone `⏣ {out.paid}` after tax, you have to pay `⏣ {out.give}`*"}Raw JSON
{
"id": 1021575,
"created_at": "2021-08-22T06:01:19.000Z",
"tag_name": "tc",
"nsfw": false,
"owner_id": "764454003026821150",
"uses": 8,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "775561862199771156",
"sharer": "764454003026821150",
"content": "{=():}{=(largs):{lower:{args}}}\n\n{=(COMMENT):ERROR HANDLING}\n{=(allNum):{replace(m,1):{replace(k,1):{replace(e,1):{largs}}}}}\n{=(isNum):{in({m:sgn({allNum})}):0 1}}\n{{if({isNum}==false):blacklist({if(=={args}):You have to enter an amount. Proper format:```[p]tc [amount]```|Please enter a valid amount for me to calculate!}):{server(id)}}}\n\n{=(COMMENT):CALCULATIONS AND OUTPUT FORMATTING}\n{=(paid):{m:trunc(round({replace(÷,/):{replace(x,*):{replace(m,e6):{replace(k,e3):{largs}}}}}))}}\n{=(out.paid):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{paid}}}}}}}\n{=(deductionRate):0.03}\n{=(out.rate):3%}\n{=(additionRate):{m:1-{deductionRate}}}\n{=(lost):{m:trunc(round({paid}*{deductionRate}))}}\n{=(out.lost):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{lost}}}}}}}\n{=(get):{m:trunc(round({paid}-{lost}))}}\n{=(out.get):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{get}}}}}}}\n{=(give):{m:trunc(round({paid}/{additionRate}))}}\n{=(out.give):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{give}}}}}}}\n{=(em.footer):TAX RATE: {out.rate} • Custom Command by Anik#0584}\n{embed(color):#3AADDC}\n`pls give {out.give}`",
"embed": "{\"color\": 59135, \"title\": \"Tax Calculator for Dank Memer\", \"footer\": {\"text\": \"{server}\", \"icon_url\": \"{server(icon)}\"}, \"description\": \"**Amount Paid: `⏣ {out.paid}`**\\n**User Gets: `⏣ {out.get}`**\\n**Lost as tax: `⏣ {out.lost}`**\\n\\n*To send someone `⏣ {out.paid}` after tax, you have to pay `⏣ {out.give}`*\"}",
"last_fetched": "2026-10-20T17:25:46.377Z"
}