test

Privateunrated

Content

35 lines
{=():}
{=(COMMENT):Shortners and aliases}
{=(u):{unix}}
{=(isAgo):{in(ago):{args}}}
{=(operation):{if({isAgo}==false):+|-}}
{=(help):> This command accepts the following as parameters: m for minutes, h for hours, d for days, w for weeks, and y for years. The order of these does not matter. Note, months are not supported}
{{{if({args(1)}==help):blacklist({help}):{server(id)}}}}

{=(TimeString):{lower:{if({isAgo}==true):{replace(ago,):{args}}|{args}}}}

{=(COMMENT):Convert arguments to seconds}
{=(COMMENT):accepted arguments include m, h, d, w, y.}
{=(time):{replace(m,*60):{TimeString}}}
{=(time):{replace(h,*3600):{time}}}
{=(time):{replace(d,*86400):{time}}}
{=(time):{replace(w,*604800):{time}}}
{=(time):{replace(y,*31536000):{time}}}

{=(COMMENT):I only know 25 letters of the alphabet... I still don't know y}


{=(TimeCalcString):{join(+):{time}}}

{=(secs):{m:{TimeCalcString}}}

{=(COMMENT):Time Management}

{=(nu):{m:trunc({u}{operation}{m:{TimeCalcString}})}}


{=(ran.colour):{cycle({m:trunc({uses}-1)}):5BCEFA,F5A9B8,FFFFFF,F5A9B8}}
{embed(color):#{ran.colour}}
{=(COMMENT):It's not actually random, it's a trans flag but it cycles 4 colours so that there's not an extra blue, also did i spend 30 mins trying to troubleshoot the fact that i wrote (colour) instead of (color) in the embed block... yes, yes i did}

{silent}

Embed

1 line
{"color": 5198940, "description": "Your account will expire in <t:{nu}:R> on <t:{nu}:f>."}
Raw JSON
{
  "id": 1556198,
  "created_at": "2022-09-25T18:23:56.000Z",
  "tag_name": "test",
  "nsfw": false,
  "owner_id": "1003936081026228264",
  "uses": 26,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "970065776532918313",
  "sharer": "1003936081026228264",
  "content": "{=():}\n{=(COMMENT):Shortners and aliases}\n{=(u):{unix}}\n{=(isAgo):{in(ago):{args}}}\n{=(operation):{if({isAgo}==false):+|-}}\n{=(help):> This command accepts the following as parameters: m for minutes, h for hours, d for days, w for weeks, and y for years. The order of these does not matter. Note, months are not supported}\n{{{if({args(1)}==help):blacklist({help}):{server(id)}}}}\n\n{=(TimeString):{lower:{if({isAgo}==true):{replace(ago,):{args}}|{args}}}}\n\n{=(COMMENT):Convert arguments to seconds}\n{=(COMMENT):accepted arguments include m, h, d, w, y.}\n{=(time):{replace(m,*60):{TimeString}}}\n{=(time):{replace(h,*3600):{time}}}\n{=(time):{replace(d,*86400):{time}}}\n{=(time):{replace(w,*604800):{time}}}\n{=(time):{replace(y,*31536000):{time}}}\n\n{=(COMMENT):I only know 25 letters of the alphabet... I still don't know y}\n\n\n{=(TimeCalcString):{join(+):{time}}}\n\n{=(secs):{m:{TimeCalcString}}}\n\n{=(COMMENT):Time Management}\n\n{=(nu):{m:trunc({u}{operation}{m:{TimeCalcString}})}}\n\n\n{=(ran.colour):{cycle({m:trunc({uses}-1)}):5BCEFA,F5A9B8,FFFFFF,F5A9B8}}\n{embed(color):#{ran.colour}}\n{=(COMMENT):It's not actually random, it's a trans flag but it cycles 4 colours so that there's not an extra blue, also did i spend 30 mins trying to troubleshoot the fact that i wrote (colour) instead of (color) in the embed block... yes, yes i did}\n\n{silent}",
  "embed": "{\"color\": 5198940, \"description\": \"Your account will expire in <t:{nu}:R> on <t:{nu}:f>.\"}",
  "last_fetched": "2026-10-20T19:00:39.768Z"
}