halloweencd
Simple Halloween Countdown command. Works even after Halloween has past to keep counting down to next year's Halloween. Uses tagscript blocks that work anywhere, so the content and embed could be copied+exported and pasted+imported into an autofeed or a trigger if you so desire.
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):Halloween}
{=(emoji):π}
{=(date):-10-31 00.00.00}
{=(color):#000000}
{=(comment):Don't change anything below}
{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": 82089,
"created_at": "2019-10-21T19:58:41.000Z",
"tag_name": "halloweencd",
"nsfw": false,
"owner_id": "129419437911572480",
"uses": 15,
"description": "Simple Halloween Countdown command. Works even after Halloween has past to keep counting down to next year's Halloween. Uses tagscript blocks that work anywhere, so the content and embed could be copied+exported and pasted+imported into an autofeed or a trigger if you so desire.",
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "518252334975811604",
"sharer": "129419437911572480",
"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):Halloween}\n{=(emoji):π}\n{=(date):-10-31 00.00.00}\n{=(color):#000000}\n\n{=(comment):Don't change anything below}\n\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:40:33.774Z"
}