holidaycd

Privateunrated

Content

21 lines
{=(guide):
Change the 4 variables below to edit the holiday and date:
`holiday` is the name of the holiday,
`emoji` is the emoji you want on either side of the countdown title.
`date` is the date for the holiday in this format(year excluded on purpose): -MM-DD HH:MM:SS 
`color` is the hex color you want on the side of the embed}

{=(holiday):Christmas}
{=(emoji):πŸŽ„}
{=(date):-12-25 00:00:00}
{=(color):#04BA00}

{=(comment):Don't change anything below}
{delete}
{embed(color):{color}}
{=({holiday}):{emoji}It's {holiday}!{emoji}}
{=(datetime):{strf:%Y-%m-%d %H:%M:%S}}
{=(year):{strf:%Y}}
{=(DoY):{strf:%-j}}
{=(Hdate):{strf({year}{date}):%-j}}
{=(output):{if({DoY}=={Hdate}):{holiday}|{if({DoY}>{Hdate}):td({datetime}):{m:trunc({year}+1)}{date}|td({datetime}):{year}{date}}}}

Embed

1 line
{"color": 5198940, "title": "{emoji}{holiday} Countdown!{emoji}", "description": "{{output}}"}
Raw JSON
{
  "id": 98758,
  "created_at": "2019-12-15T07:27:11.000Z",
  "tag_name": "holidaycd",
  "nsfw": false,
  "owner_id": "294214716056797186",
  "uses": 6,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "463174679537123349",
  "sharer": "294214716056797186",
  "content": "{=(guide):\nChange the 4 variables below to edit the holiday and date:\n`holiday` is the name of the holiday,\n`emoji` is the emoji you want on either side of the countdown title.\n`date` is the date for the holiday in this format(year excluded on purpose): -MM-DD HH:MM:SS \n`color` is the hex color you want on the side of the embed}\n\n{=(holiday):Christmas}\n{=(emoji):πŸŽ„}\n{=(date):-12-25 00:00:00}\n{=(color):#04BA00}\n\n{=(comment):Don't change anything below}\n{delete}\n{embed(color):{color}}\n{=({holiday}):{emoji}It's {holiday}!{emoji}}\n{=(datetime):{strf:%Y-%m-%d %H:%M:%S}}\n{=(year):{strf:%Y}}\n{=(DoY):{strf:%-j}}\n{=(Hdate):{strf({year}{date}):%-j}}\n{=(output):{if({DoY}=={Hdate}):{holiday}|{if({DoY}>{Hdate}):td({datetime}):{m:trunc({year}+1)}{date}|td({datetime}):{year}{date}}}}",
  "embed": "{\"color\": 5198940, \"title\": \"{emoji}{holiday} Countdown!{emoji}\", \"description\": \"{{output}}\"}",
  "last_fetched": "2026-10-20T20:47:32.075Z"
}