taxcalc

Privateunrated

Content

27 lines
{=(encoded):{urlencode:{args}}}
{=(checkParenthesis):{in(%28):{encoded}} {in(%29):{encoded}}}
{=(equation):{lower:{join():{replace(%28,):{replace(%29,):{replace(%7B,):{replace(%7D,):{replace(%CF%80,pi):{replace(%C3%B7,/):{replace(%2B,+):{replace(%5E,^):{replace(x,*):{replace(%2A,*):{replace(%20, ):{replace(m,e6):{replace(k,e3):{encoded}}}}}}}}}}}}}}}}}

{=(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(1)}|{in({m:sgn({equation})}):0 1}==true):`pls give {cc}`}
{=():}
{=(check):{if({m:({equation})*0}==0.0):true|false}}
{=(isParenthesis):{contains(true):{checkParenthesis}}}
{=(image):{or({m:({equation})*0}!=0.0|{isParenthesis}==true):placeholder}}
{=(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.}
{=(error):{or({isParenthesis}==true|{check}==false):msg.invalid|{if(=={equation(1)}):msg.blank}}}
{{error}}

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": 223129,
  "created_at": "2022-04-26T10:36:37.220Z",
  "tag_name": "taxcalc",
  "nsfw": false,
  "owner_id": "129419437911572480",
  "uses": 38,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "632187193162465281",
  "sharer": "129419437911572480",
  "content": "{=(encoded):{urlencode:{args}}}\n{=(checkParenthesis):{in(%28):{encoded}} {in(%29):{encoded}}}\n{=(equation):{lower:{join():{replace(%28,):{replace(%29,):{replace(%7B,):{replace(%7D,):{replace(%CF%80,pi):{replace(%C3%B7,/):{replace(%2B,+):{replace(%5E,^):{replace(x,*):{replace(%2A,*):{replace(%20, ):{replace(m,e6):{replace(k,e3):{encoded}}}}}}}}}}}}}}}}}\n\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(1)}|{in({m:sgn({equation})}):0 1}==true):`pls give {cc}`}\n{=():}\n{=(check):{if({m:({equation})*0}==0.0):true|false}}\n{=(isParenthesis):{contains(true):{checkParenthesis}}}\n{=(image):{or({m:({equation})*0}!=0.0|{isParenthesis}==true):placeholder}}\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{=(error):{or({isParenthesis}==true|{check}==false):msg.invalid|{if(=={equation(1)}):msg.blank}}}\n{{error}}",
  "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-20T21:45:43.448Z"
}