timeit

Privateunrated

Content

21 lines
{=(wins):604800}
{=(dins):86400}
{=(hins):3600}
{=(mins):60}
{=(add):{replace(w,*{wins}+):{replace(d,*{dins}+):{replace(week,w):{replace(day,d):{replace(h,*{hins}+):{replace(hour,h):{replace(m,*{mins}+):{replace(min,m):{replace(minute,m):{replace(s,+):{join():{args(1):/}}}}}}}}}}}}}
{=(addcalc):{m:trunc({add}0)}}
{=(newtime):{m:trunc({unix}+{addcalc})}}
{=(oldtime):{unix}}
{=(name):{if({args(1):/}=={args(2):/}):Timer|{args(2):/}}}
{=():}
{{if({m:sgn({newtime})}!=1):blacklist(Uh oh. You caused an error. Please contact Taha for further info.):{server(id)}}}
{c:af silent {addcalc}s {user(mention)} the timer for **{name}** has ended!}
{override}
{=(debug):__Debug__
Add: {add}
Add calc: {addcalc}
New time: {newtime}}
{{if({args}==):blacklist(```!timeit <duration> / [Name=timer]
         ^^^^^^^^
Duration is a mandatory argument which is missing.```):{server(id)}}}
{silent}

Embed

1 line
{"color": 14677388, "title": "{name}", "author": {"name": "{user}", "icon_url": "{user(avatar)}"}, "footer": {"text": "Ends {strf({newtime}):%A at %-H:%-M} [UTC]"}, "description": "<:replycont:877815517010882581> Ends <t:{newtime}:R>\n<:replycont:877815517010882581> Started at <t:{oldtim`\n"}
Raw JSON
{
  "id": 1160237,
  "created_at": "2021-11-21T10:44:53.000Z",
  "tag_name": "timeit",
  "nsfw": false,
  "owner_id": "633692362153000960",
  "uses": 9,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "869598427015692288",
  "sharer": "633692362153000960",
  "content": "{=(wins):604800}\n{=(dins):86400}\n{=(hins):3600}\n{=(mins):60}\n{=(add):{replace(w,*{wins}+):{replace(d,*{dins}+):{replace(week,w):{replace(day,d):{replace(h,*{hins}+):{replace(hour,h):{replace(m,*{mins}+):{replace(min,m):{replace(minute,m):{replace(s,+):{join():{args(1):/}}}}}}}}}}}}}\n{=(addcalc):{m:trunc({add}0)}}\n{=(newtime):{m:trunc({unix}+{addcalc})}}\n{=(oldtime):{unix}}\n{=(name):{if({args(1):/}=={args(2):/}):Timer|{args(2):/}}}\n{=():}\n{{if({m:sgn({newtime})}!=1):blacklist(Uh oh. You caused an error. Please contact Taha for further info.):{server(id)}}}\n{c:af silent {addcalc}s {user(mention)} the timer for **{name}** has ended!}\n{override}\n{=(debug):__Debug__\nAdd: {add}\nAdd calc: {addcalc}\nNew time: {newtime}}\n{{if({args}==):blacklist(```!timeit <duration> / [Name=timer]\n         ^^^^^^^^\nDuration is a mandatory argument which is missing.```):{server(id)}}}\n{silent}",
  "embed": "{\"color\": 14677388, \"title\": \"{name}\", \"author\": {\"name\": \"{user}\", \"icon_url\": \"{user(avatar)}\"}, \"footer\": {\"text\": \"Ends {strf({newtime}):%A at %-H:%-M} [UTC]\"}, \"description\": \"<:replycont:877815517010882581> Ends <t:{newtime}:R>\\n<:replycont:877815517010882581> Started at <t:{oldtim`\\n\"}",
  "last_fetched": "2026-10-20T18:02:34.647Z"
}