taxcalc
Privateunrated
Content
25 lines{=(encoded):{urlencode:{args}}}
{=(sani):{replace(%28,/g):{replace(%29,/g):{encoded}}}}
{=(ljargs):{lower:{join():{sani}}}}
{=(equation):{replace(π,pi):{replace(÷,/):{replace(x,*):{replace(m,e6):{replace(k,e3):{ljargs}}}}}}}
{=(in.equation):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{m:round({equation})}}}}}}}
{=(taxrate):8}
{=(dec):0.92}
{=(cc):{m:round(({equation})/{dec})}}
{=(in.cc):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{cc}}}}}}}
{=(dd):{m:abs(round(({equation})-{cc}))}}
{=(in.dd):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{m:trunc({dd})}}}}}}}
{=(i):#:A,B,C,D,E,F,0,1,2,3,4,5,6,7,8,9}
{embed(color):#{{i}}{{i}}{{i}}{{i}}{{i}}{{i}}}
{=(output):Original amount input: `{in.equation}`
Amount expected to pay: `{in.cc}`
Amount lost by tax: `{in.dd}`
Tax percentage: `{taxrate}%`}
{and(!={equation}|{in({m:sgn({equation})}):0 1}==true):`pls give {cc}`}
{=():}
{=(check):{if({m:({equation})*0}==0.0):true|false}}
{=(msg.blank):Seems like the argument is blank. Provide an amount to calculate tax with.
**Example:** `[p]taxcalc <amt>`.}
{=(msg.invalid):This does not appear to be a valid argument to calculate tax with.}
{{if(=={sani(1)}):c:echo {msg.blank}|{if({check}==false):c:choose {msg.invalid},{msg.invalid}}}}
{=(image):{if({check}==false):placeholder}}Embed
1 line{"color": 5198940, "image": {"url": "{image}"}, "title": "Dank Memer Tax Calculator", "footer": {"text": "Made by Smile#9254", "icon_url": "{server(icon)}"}, "description": "{output}"}Raw JSON
{
"id": 659807,
"created_at": "2021-03-08T03:02:12.000Z",
"tag_name": "taxcalc",
"nsfw": false,
"owner_id": "697681586312839208",
"uses": 20,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "693925357580976221",
"sharer": "697681586312839208",
"content": "{=(encoded):{urlencode:{args}}}\n{=(sani):{replace(%28,/g):{replace(%29,/g):{encoded}}}}\n{=(ljargs):{lower:{join():{sani}}}}\n{=(equation):{replace(π,pi):{replace(÷,/):{replace(x,*):{replace(m,e6):{replace(k,e3):{ljargs}}}}}}}\n{=(in.equation):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{m:round({equation})}}}}}}}\n{=(taxrate):8}\n{=(dec):0.92}\n{=(cc):{m:round(({equation})/{dec})}}\n{=(in.cc):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{cc}}}}}}}\n{=(dd):{m:abs(round(({equation})-{cc}))}}\n{=(in.dd):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{m:trunc({dd})}}}}}}}\n{=(i):#:A,B,C,D,E,F,0,1,2,3,4,5,6,7,8,9}\n{embed(color):#{{i}}{{i}}{{i}}{{i}}{{i}}{{i}}}\n{=(output):Original amount input: `{in.equation}`\nAmount expected to pay: `{in.cc}`\nAmount lost by tax: `{in.dd}`\nTax percentage: `{taxrate}%`}\n{and(!={equation}|{in({m:sgn({equation})}):0 1}==true):`pls give {cc}`}\n{=():}\n{=(check):{if({m:({equation})*0}==0.0):true|false}}\n{=(msg.blank):Seems like the argument is blank. Provide an amount to calculate tax with.\n**Example:** `[p]taxcalc <amt>`.}\n{=(msg.invalid):This does not appear to be a valid argument to calculate tax with.}\n{{if(=={sani(1)}):c:echo {msg.blank}|{if({check}==false):c:choose {msg.invalid},{msg.invalid}}}}\n{=(image):{if({check}==false):placeholder}}",
"embed": "{\"color\": 5198940, \"image\": {\"url\": \"{image}\"}, \"title\": \"Dank Memer Tax Calculator\", \"footer\": {\"text\": \"Made by Smile#9254\", \"icon_url\": \"{server(icon)}\"}, \"description\": \"{output}\"}",
"last_fetched": "2026-10-21T00:36:00.311Z"
}