yotime

Private

Content

44 lines
{delete}
{=():}
{=(name):YoYo* Time Conversion}
{=(pre):!}
{=(tag):yotime}
{=(footer):{pre}{tag} · {user(name)}}
{embed(color):#ff00ff}
{=(em2):<a:FNFtimer2:1274078615536930911>}
{=(em1):<a:madaR:937161399443001354>}
{react:{em2}}
{=(sub):{lower:{args}}}
{=(sub):{replace(1,1 ):{replace(2,2 ):{replace(3,3 ):{replace(4,4 ):{replace(5,5 ):{replace(6,6 ):{replace(7,7 ):{replace(8,8 ):{replace(9,9 ):{replace(0,0 ):{sub}}}}}}}}}}}}
{=(time):{join():{sub(+-1)}}}
{=(unit):{sub(0)}}
{=(secondsc):{contains({unit}):seconds secs sec s second}}
{=(minutesc):{contains({unit}):minutes minute mins min m}}
{=(hoursc):{contains({unit}):hours hour hs h}}
{=(daysc):{contains({unit}):days day ds d}}
{=(weeksc):{contains({unit}):weeks week ws w}}
{=(monthsc):{contains({unit}):months month mos mo}}
{=(yearsc):{contains({unit}):years year ys y}}
{=(decadesc):{contains({unit}):decades decade}}
{=(checks):{secondsc} {minutesc} {hoursc} {daysc} {weeksc} {monthsc} {yearsc} {decadesc}}
{=(check):{index(true):0 {checks} true}}
{=(types):second minute hour day week month year decade error}
{=(type):{types({check})}}
{=(type):{if({time}!=1):{type}s|{type}}}
{=(valid):{any({time}==|{ord:{replace(.,):{time}}}==<ord error>|{type}==error|{type}==errors|{time}==0|{in(-):{args}}==true):false|true}}
{=(num1):1 60 3600 86400 604800 2629746 31536000 315360000 0}
{=(num1):{num1({check})}}
{=(ms):{m:{num1}*0{time}}}
{=(num2):{if({ms}>315359999):0.85|{if({ms}>32535999):0.80|{if({ms}>2629745):0.75|{if({ms}>604799):1.30|{if({ms}>86399):1.45|{if({ms}>3599):1.70|{if({ms}>59):3.0|{if({ms}<60):8.5}}}}}}}}}
{=(utime):{m:trunc({unix}+{ms})}}
{=(mtime):{m:{ms}*{num2}}}
{=(mt):{td({unix}):{utime}}}
{=(mtime2):{m:{unix}+{mtime}}}
{=(mtime3):{m:trunc({mtime2})}}
{=(mtime4):{td({unix}):{mtime3}}}
{=(desc):-# {em1} **Human Time:** {time} {type}
-# {em1} **YoYo\* Time:** {mtime4}}
{=(errord):-# *You must follow the command with a number of seconds, minutes, hours, days, weeks, months, years, or decades!*

{em1} **Command:** {pre}{tag} <#> <unit of time>
{em1} **Usage:** {pre}{tag} 17min}

Embed

1 line
{"color": 5198940, "author": {"name": "{name}"}, "footer": {"text": "{footer}"}, "description": "{{if({valid}!=true):errord}}{{if({valid}==true):desc}}"}
Raw JSON
{
  "id": 2405104,
  "created_at": "2025-09-28T23:45:50.000Z",
  "tag_name": "yotime",
  "nsfw": false,
  "owner_id": "935523589640310854",
  "uses": 71,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "",
  "hidden": false,
  "guild_id": "1373171202406748191",
  "sharer": "935523589640310854",
  "content": "{delete}\n{=():}\n{=(name):YoYo* Time Conversion}\n{=(pre):!}\n{=(tag):yotime}\n{=(footer):{pre}{tag} · {user(name)}}\n{embed(color):#ff00ff}\n{=(em2):<a:FNFtimer2:1274078615536930911>}\n{=(em1):<a:madaR:937161399443001354>}\n{react:{em2}}\n{=(sub):{lower:{args}}}\n{=(sub):{replace(1,1 ):{replace(2,2 ):{replace(3,3 ):{replace(4,4 ):{replace(5,5 ):{replace(6,6 ):{replace(7,7 ):{replace(8,8 ):{replace(9,9 ):{replace(0,0 ):{sub}}}}}}}}}}}}\n{=(time):{join():{sub(+-1)}}}\n{=(unit):{sub(0)}}\n{=(secondsc):{contains({unit}):seconds secs sec s second}}\n{=(minutesc):{contains({unit}):minutes minute mins min m}}\n{=(hoursc):{contains({unit}):hours hour hs h}}\n{=(daysc):{contains({unit}):days day ds d}}\n{=(weeksc):{contains({unit}):weeks week ws w}}\n{=(monthsc):{contains({unit}):months month mos mo}}\n{=(yearsc):{contains({unit}):years year ys y}}\n{=(decadesc):{contains({unit}):decades decade}}\n{=(checks):{secondsc} {minutesc} {hoursc} {daysc} {weeksc} {monthsc} {yearsc} {decadesc}}\n{=(check):{index(true):0 {checks} true}}\n{=(types):second minute hour day week month year decade error}\n{=(type):{types({check})}}\n{=(type):{if({time}!=1):{type}s|{type}}}\n{=(valid):{any({time}==|{ord:{replace(.,):{time}}}==<ord error>|{type}==error|{type}==errors|{time}==0|{in(-):{args}}==true):false|true}}\n{=(num1):1 60 3600 86400 604800 2629746 31536000 315360000 0}\n{=(num1):{num1({check})}}\n{=(ms):{m:{num1}*0{time}}}\n{=(num2):{if({ms}>315359999):0.85|{if({ms}>32535999):0.80|{if({ms}>2629745):0.75|{if({ms}>604799):1.30|{if({ms}>86399):1.45|{if({ms}>3599):1.70|{if({ms}>59):3.0|{if({ms}<60):8.5}}}}}}}}}\n{=(utime):{m:trunc({unix}+{ms})}}\n{=(mtime):{m:{ms}*{num2}}}\n{=(mt):{td({unix}):{utime}}}\n{=(mtime2):{m:{unix}+{mtime}}}\n{=(mtime3):{m:trunc({mtime2})}}\n{=(mtime4):{td({unix}):{mtime3}}}\n{=(desc):-# {em1} **Human Time:** {time} {type}\n-# {em1} **YoYo\\* Time:** {mtime4}}\n{=(errord):-# *You must follow the command with a number of seconds, minutes, hours, days, weeks, months, years, or decades!*\n\n{em1} **Command:** {pre}{tag} <#> <unit of time>\n{em1} **Usage:** {pre}{tag} 17min}",
  "embed": "{\"color\": 5198940, \"author\": {\"name\": \"{name}\"}, \"footer\": {\"text\": \"{footer}\"}, \"description\": \"{{if({valid}!=true):errord}}{{if({valid}==true):desc}}\"}",
  "last_fetched": "2026-10-21T02:16:30.510Z"
}