calc

Privateunrated

Content

16 lines
{=(largs):{lower:{args}}}
{=(equation):{replace(Z,):{replace(.0Z,):{m:{replace(π,pi):{replace(sqrt,^(1/2)):{replace(÷,/):{replace(x,*):{replace(m,e6):{replace(k,e3):{replace( ,):{largs}}}}}}}}}Z}}}
{=(equation):{replace(<o error>,Error. Invalid input.):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{equation(1):.}}{if({equation(2+):.}!=):.{equation(2+):.}}}}}}}}

{=(title):Calculator}
{=(thumbnail):{replace(1200px,250px):https://cdn.discordapp.com/emojis/673746643866353676.gif?v=1}}

{=(input):{if({1}==):None.|{replace( ,):{largs}}}}

{=(error):You need to specify an equation to calculate.}
{=(output):{if({1}==):{error}|{equation}}}

{=(clr.red):F80E0E}
{=(clr.gray):2f3136}
{=(em.color):{if({1}==):{clr.red}|{if({in(Error. Invalid input.):{equation}}==true):{clr.red}|{clr.gray}}}}
{embed(color):#{em.color}}

Embed

1 line
{"color": 5198940, "title": "{title}", "fields": [{"name": "Input", "value": "`{input}`", "inline": false}, {"name": "Output", "value": "`{output}`", "inline": false}], "thumbnail": {"url": "{thumbnail}"}}
Raw JSON
{
  "id": 820230,
  "created_at": "2021-05-12T09:42:49.000Z",
  "tag_name": "calc",
  "nsfw": false,
  "owner_id": "732425670856147075",
  "uses": 14,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "733211283528220723",
  "sharer": "732425670856147075",
  "content": "{=(largs):{lower:{args}}}\n{=(equation):{replace(Z,):{replace(.0Z,):{m:{replace(π,pi):{replace(sqrt,^(1/2)):{replace(÷,/):{replace(x,*):{replace(m,e6):{replace(k,e3):{replace( ,):{largs}}}}}}}}}Z}}}\n{=(equation):{replace(<o error>,Error. Invalid input.):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{equation(1):.}}{if({equation(2+):.}!=):.{equation(2+):.}}}}}}}}\n\n{=(title):Calculator}\n{=(thumbnail):{replace(1200px,250px):https://cdn.discordapp.com/emojis/673746643866353676.gif?v=1}}\n\n{=(input):{if({1}==):None.|{replace( ,):{largs}}}}\n\n{=(error):You need to specify an equation to calculate.}\n{=(output):{if({1}==):{error}|{equation}}}\n\n{=(clr.red):F80E0E}\n{=(clr.gray):2f3136}\n{=(em.color):{if({1}==):{clr.red}|{if({in(Error. Invalid input.):{equation}}==true):{clr.red}|{clr.gray}}}}\n{embed(color):#{em.color}}",
  "embed": "{\"color\": 5198940, \"title\": \"{title}\", \"fields\": [{\"name\": \"Input\", \"value\": \"`{input}`\", \"inline\": false}, {\"name\": \"Output\", \"value\": \"`{output}`\", \"inline\": false}], \"thumbnail\": {\"url\": \"{thumbnail}\"}}",
  "last_fetched": "2026-10-21T01:28:34.025Z"
}