weeklycd

Private

Content

15 lines
{=(d2cd2):Bear Hunt Trap 1}
{=(t2cd2f24h):18:30}
{=(offset):0}
{=(titlefmt):24h}
{=(t2cd2f12h):{strf(2025-01-23 {t2cd2f24h}:00):%I:%M %p}}

{=(osunix):{m:trunc({unix}+({offset}*3600))}}
{=(crntDayepoch4t2cd2):{m:trunc({strf({strf({osunix}):%F} {t2cd2f24h}:{strf({osunix}):%S}):%s}+({offset}*-3600))}}

{=(day):86400}
{=(DotW):{strf({m:trunc({osunix}+({day}*0))}):%A} {strf({m:trunc({osunix}+({day}*1))}):%A} {strf({m:trunc({osunix}+({day}*2))}):%A} {strf({m:trunc({osunix}+({day}*3))}):%A} {strf({m:trunc({osunix}+({day}*4))}):%A} {strf({m:trunc({osunix}+({day}*5))}):%A} {strf({m:trunc({osunix}+({day}*6))}):%A}}
{=(d2cd2index):{index({d2cd2}):{DotW}}}

{=(dt2cd2epoch):{strf({m:trunc({crntDayepoch4t2cd2}+({d2cd2index}*{day}))}):%s}}
{=(output):td:{strf({if({unix}<={dt2cd2epoch}):{dt2cd2epoch}|{m:trunc({dt2cd2epoch}+({day}*2))}}):%F %T}}

Embed

1 line
{"color": 3092790, "title": "Countdown to {d2cd2} at {t2cd2f{titlefmt}}", "description": "{{output}}"}
Raw JSON
{
  "id": 2199206,
  "created_at": "2025-01-24T11:43:49.000Z",
  "tag_name": "weeklycd",
  "nsfw": false,
  "owner_id": "858682622279680000",
  "uses": 10,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "",
  "hidden": false,
  "guild_id": "1175234482090037268",
  "sharer": "858682622279680000",
  "content": "{=(d2cd2):Bear Hunt Trap 1}\n{=(t2cd2f24h):18:30}\n{=(offset):0}\n{=(titlefmt):24h}\n{=(t2cd2f12h):{strf(2025-01-23 {t2cd2f24h}:00):%I:%M %p}}\n\n{=(osunix):{m:trunc({unix}+({offset}*3600))}}\n{=(crntDayepoch4t2cd2):{m:trunc({strf({strf({osunix}):%F} {t2cd2f24h}:{strf({osunix}):%S}):%s}+({offset}*-3600))}}\n\n{=(day):86400}\n{=(DotW):{strf({m:trunc({osunix}+({day}*0))}):%A} {strf({m:trunc({osunix}+({day}*1))}):%A} {strf({m:trunc({osunix}+({day}*2))}):%A} {strf({m:trunc({osunix}+({day}*3))}):%A} {strf({m:trunc({osunix}+({day}*4))}):%A} {strf({m:trunc({osunix}+({day}*5))}):%A} {strf({m:trunc({osunix}+({day}*6))}):%A}}\n{=(d2cd2index):{index({d2cd2}):{DotW}}}\n\n{=(dt2cd2epoch):{strf({m:trunc({crntDayepoch4t2cd2}+({d2cd2index}*{day}))}):%s}}\n{=(output):td:{strf({if({unix}<={dt2cd2epoch}):{dt2cd2epoch}|{m:trunc({dt2cd2epoch}+({day}*2))}}):%F %T}}",
  "embed": "{\"color\": 3092790, \"title\": \"Countdown to {d2cd2} at {t2cd2f{titlefmt}}\", \"description\": \"{{output}}\"}",
  "last_fetched": "2026-10-20T19:49:50.578Z"
}