weigh
Private
Content
61 lines{=(ua):{upper:{args}}}
{=(COMMENT):Conversion Maths.}
{=(lbstokg):{calc:round(({ua(1):LBS}/2.20462))} KG}
{=(lbstost):{calc:round(({ua(1):LBS}/14))} ST}
{=(kgtolbs):{calc:round(({ua(1):KG}*2.20462))} LBS}
{=(kgtost):{calc:round(({ua(1):KG}/6.35))} ST}
{=(sttolbs):{calc:round(({ua(1):ST}*14))} LBS}
{=(sttokg):{calc:round(({ua(1):ST}*6.35))} KG}
{=(COMMENT):Conversion checks.}
{=(lbsresult):{if({in(LBS):{ua}}==true):{ua}|{if({in(KG):{ua}}==true):{kgtolbs}|{if({in(ST):{ua}}==true):{sttolbs}}}}}
{=(kgsresult):{if({in(LBS):{ua}}==true):{lbstokg}|{if({in(KG):{ua}}==true):{ua}|{if({in(ST):{ua}}==true):{sttokg}}}}}
{=(stresult):{if({in(LBS):{ua}}==true):{lbstost}|{if({in(KG):{ua}}==true):{kgtost}|{if({in(ST):{ua}}==true):{ua}}}}}
{=(COMMENT):Results to display.}
{=(result):
→ {lbsresult}
→ {kgsresult}
→ {stresult}
}
{=(COMMENT):Content Checks}
{=(noArgs):{if(=={1}):true|false}}
{=(isHelp):{if({ua}==HELP):true|false}}
{=(hasComma):{if({in(,):{ua}}==true):true|false}}
{=(unitCheck):{any({in(KG):{ua}}==true|{in(LBS):{ua}}==true|{in(ST):{ua}}==true):true|false}}
{=(noUnit):{if({unitCheck}==false):true|false}}
{=(COMMENT):Error Messages}
{=(msg.empty):Nothing is just...nothing. You need to provide content for me to convert.}
{=(msg.help):What does that weigh? What does it *really*?
Well, this command will tell you! Use the command with a number and weight indicator and I'll convert it for you! Be aware that all results are rounded, and the command does not support commas.
> Examples: `43kg` `113lbs` `12st`}
{=(msg.comma):You can't use a comma for this command, it breaks the formulas. Try again without it :)}
{=(msg.unit):I need to know which unit to measure in order to convert it. The options are `KG`, `LBS` or `ST`}
{=(msg):msg.empty msg.help msg.comma msg.unit}
{=(error.output):{{msg({index(true):0 {noArgs} {isHelp} {hasComma} {noUnit} true})}}}
{=(COMMENT):Final Checks | Embed Appearance | Debug Storage}
{=(errorcheck):{any({noArgs}==true|{isHelp}==true|{hasComma}==true|{noUnit}==true):true}}
{=(emtit):{if({errorcheck}==true):Here's some info!|That converts to:}}
{=(emfoot):{if({errorcheck}==true):Stupid numbers. Use `help` with the command for instructions.|Results are rounded to the nearest whole number.}}
{embed(title):{emtit}}
{embed(color):{user(color)}}
{=(bodycheck):{if({errorcheck}==true):{error.output}|{result}}}
{=(debug):
## Debug Menu
args - 1) {ua(1)} | 2) {ua(2)}
> noArgs - {noArgs}
> isHelp - {isHelp}
> hasComma - {hasComma}
> unitCheck - {unitCheck}
> noUnit - {noUnit}
• errorcheck - {errorcheck}
• error.output - {error.output}
}Embed
1 line{"color": 5198940, "title": "{emtit}", "fields": [{"name": "", "value": "", "inline": false}], "footer": {"text": "{emfoot}"}, "description": "{bodycheck}\n"}Raw JSON
{
"id": 2509880,
"created_at": "2026-01-30T01:31:57.000Z",
"tag_name": "weigh",
"nsfw": false,
"owner_id": "626125124650663937",
"uses": 14,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "",
"hidden": false,
"guild_id": "1455339124386037803",
"sharer": "626125124650663937",
"content": "{=(ua):{upper:{args}}}\n\n{=(COMMENT):Conversion Maths.}\n{=(lbstokg):{calc:round(({ua(1):LBS}/2.20462))} KG}\n{=(lbstost):{calc:round(({ua(1):LBS}/14))} ST}\n{=(kgtolbs):{calc:round(({ua(1):KG}*2.20462))} LBS}\n{=(kgtost):{calc:round(({ua(1):KG}/6.35))} ST}\n{=(sttolbs):{calc:round(({ua(1):ST}*14))} LBS}\n{=(sttokg):{calc:round(({ua(1):ST}*6.35))} KG}\n\n{=(COMMENT):Conversion checks.}\n{=(lbsresult):{if({in(LBS):{ua}}==true):{ua}|{if({in(KG):{ua}}==true):{kgtolbs}|{if({in(ST):{ua}}==true):{sttolbs}}}}}\n{=(kgsresult):{if({in(LBS):{ua}}==true):{lbstokg}|{if({in(KG):{ua}}==true):{ua}|{if({in(ST):{ua}}==true):{sttokg}}}}}\n{=(stresult):{if({in(LBS):{ua}}==true):{lbstost}|{if({in(KG):{ua}}==true):{kgtost}|{if({in(ST):{ua}}==true):{ua}}}}}\n\n{=(COMMENT):Results to display.}\n{=(result):\n→ {lbsresult}\n\n→ {kgsresult}\n\n→ {stresult}\n}\n\n{=(COMMENT):Content Checks}\n{=(noArgs):{if(=={1}):true|false}}\n{=(isHelp):{if({ua}==HELP):true|false}}\n{=(hasComma):{if({in(,):{ua}}==true):true|false}}\n{=(unitCheck):{any({in(KG):{ua}}==true|{in(LBS):{ua}}==true|{in(ST):{ua}}==true):true|false}}\n{=(noUnit):{if({unitCheck}==false):true|false}}\n\n{=(COMMENT):Error Messages}\n{=(msg.empty):Nothing is just...nothing. You need to provide content for me to convert.}\n{=(msg.help):What does that weigh? What does it *really*?\nWell, this command will tell you! Use the command with a number and weight indicator and I'll convert it for you! Be aware that all results are rounded, and the command does not support commas.\n> Examples: `43kg` `113lbs` `12st`}\n{=(msg.comma):You can't use a comma for this command, it breaks the formulas. Try again without it :)}\n{=(msg.unit):I need to know which unit to measure in order to convert it. The options are `KG`, `LBS` or `ST`}\n{=(msg):msg.empty msg.help msg.comma msg.unit}\n{=(error.output):{{msg({index(true):0 {noArgs} {isHelp} {hasComma} {noUnit} true})}}}\n\n{=(COMMENT):Final Checks | Embed Appearance | Debug Storage}\n{=(errorcheck):{any({noArgs}==true|{isHelp}==true|{hasComma}==true|{noUnit}==true):true}}\n{=(emtit):{if({errorcheck}==true):Here's some info!|That converts to:}}\n{=(emfoot):{if({errorcheck}==true):Stupid numbers. Use `help` with the command for instructions.|Results are rounded to the nearest whole number.}}\n{embed(title):{emtit}}\n{embed(color):{user(color)}}\n{=(bodycheck):{if({errorcheck}==true):{error.output}|{result}}}\n{=(debug):\n## Debug Menu\nargs - 1) {ua(1)} | 2) {ua(2)}\n\n> noArgs - {noArgs}\n> isHelp - {isHelp}\n> hasComma - {hasComma}\n> unitCheck - {unitCheck}\n> noUnit - {noUnit}\n\n• errorcheck - {errorcheck}\n• error.output - {error.output}\n}",
"embed": "{\"color\": 5198940, \"title\": \"{emtit}\", \"fields\": [{\"name\": \"\", \"value\": \"\", \"inline\": false}], \"footer\": {\"text\": \"{emfoot}\"}, \"description\": \"{bodycheck}\\n\"}",
"last_fetched": "2026-10-22T09:28:58.042Z"
}