weight

Privateunrated

Content

6 lines
{=(ua):{upper:{args}}}
{=(ktop):{calc:round({ua(1):K}*2.205)}lbs}
{=(ptok):{calc:round({ua(1):P}/2.205)}kg}
{=(error):Include either `K` or `P` for kilograms or pounds.}
{=(result):{{if({in(K):{ua}}==true):ktop|{if({in(P):{ua}}==true):ptok|error}}}}
{embed(color):{if({in(-):{result}}==true):#75c3ff|#ffbe69}}

Embed

1 line
{"color": 5198940, "title": "{result}", "author": {"name": "Result:", "icon_url": "https://i.imgur.com/vGx0jiz_d.png"}}
Raw JSON
{
  "id": 729229,
  "created_at": "2021-04-05T14:26:43.000Z",
  "tag_name": "weight",
  "nsfw": false,
  "owner_id": "406260658141790208",
  "uses": 8,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "550927098189971456",
  "sharer": "406260658141790208",
  "content": "{=(ua):{upper:{args}}}\n{=(ktop):{calc:round({ua(1):K}*2.205)}lbs}\n{=(ptok):{calc:round({ua(1):P}/2.205)}kg}\n{=(error):Include either `K` or `P` for kilograms or pounds.}\n{=(result):{{if({in(K):{ua}}==true):ktop|{if({in(P):{ua}}==true):ptok|error}}}}\n{embed(color):{if({in(-):{result}}==true):#75c3ff|#ffbe69}}",
  "embed": "{\"color\": 5198940, \"title\": \"{result}\", \"author\": {\"name\": \"Result:\", \"icon_url\": \"https://i.imgur.com/vGx0jiz_d.png\"}}",
  "last_fetched": "2026-10-20T15:56:31.687Z"
}