expire

Privateunrated

Content

30 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}})}}

{silent} {delete}

Embed

1 line
{"color": 1703680, "footer": {"text": "You will receive another reminder in 1 day."}, "description": "Your account will expire <t:{nu}:R> on <t:{nu}:D>. If you plan to renew, please let us know! **We are currently running a sale. It is $8/month. If you have an Alloy account, it will be $10/month. We will be stopping your account immediately <t:{nu}:R>, so let's get this through!"}
Raw JSON
{
  "id": 1556264,
  "created_at": "2022-09-25T19:14:28.000Z",
  "tag_name": "expire",
  "nsfw": false,
  "owner_id": "1003936081026228264",
  "uses": 25,
  "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{silent} {delete}",
  "embed": "{\"color\": 1703680, \"footer\": {\"text\": \"You will receive another reminder in 1 day.\"}, \"description\": \"Your account will expire <t:{nu}:R> on <t:{nu}:D>. If you plan to renew, please let us know! **We are currently running a sale. It is $8/month. If you have an Alloy account, it will be $10/month. We will be stopping your account immediately <t:{nu}:R>, so let's get this through!\"}",
  "last_fetched": "2026-10-20T19:00:40.078Z"
}