changetemp

Privateunrated

Content

5 lines
{=(ua):{upper:{args}}}
{=(ctof):{calc:round(({ua(1):C}*9/5+32)*10)/10} Fahrenheit}
{=(ftoc):{calc:round((({ua(1):F}-32)*5/9)*10)/10} Celsius}
{=(error):Please include either a `C` or a `F` as a temperature unit of measure}
{=(result):{{if({in(C):{ua}}==true):ctof|{if({in(F):{ua}}==true):ftoc|error}}}}

Embed

1 line
{"color": 9442302, "author": {"name": "{result}", "icon_url": "https://imgur.com/GVJPyQa.png"}}
Raw JSON
{
  "id": 1365668,
  "created_at": "2022-04-26T10:38:40.169Z",
  "tag_name": "changetemp",
  "nsfw": false,
  "owner_id": "246753139095633922",
  "uses": 8,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "871150770630828115",
  "sharer": "246753139095633922",
  "content": "{=(ua):{upper:{args}}}\n{=(ctof):{calc:round(({ua(1):C}*9/5+32)*10)/10} Fahrenheit}\n{=(ftoc):{calc:round((({ua(1):F}-32)*5/9)*10)/10} Celsius}\n{=(error):Please include either a `C` or a `F` as a temperature unit of measure}\n{=(result):{{if({in(C):{ua}}==true):ctof|{if({in(F):{ua}}==true):ftoc|error}}}}",
  "embed": "{\"color\": 9442302, \"author\": {\"name\": \"{result}\", \"icon_url\": \"https://imgur.com/GVJPyQa.png\"}}",
  "last_fetched": "2026-10-20T18:44:35.844Z"
}