fotm

A variation on my holidaycd tag, this one counts down to a specific day of the month set in the date variable.

Privateunrated

Content

19 lines
{=(guide):
Change the 4 variables below to edit the holiday and date:
`title` is the name of the day,
`emoji` is the emoji you want on either side of the countdown title.
`date` is the day of the month to count down to: -DD HH:MM:SS 
`color` is the hex color you want on the side of the embed}

{=(title):The First of the Month}
{=(emoji):1️⃣}
{=(date):-01 00:00:00}
{=(color):#FF0000}

{=(comment):Don't change anything below}
{embed(color):{color}}
{=({title}):It's {title}!}
{=(month):{if({strf:%-m}==12):01|{if({strf:%-m}<9):0}{m:trunc({strf:%m}+1)}}}
{=(year):{if({month}==01):{m:trunc({strf:%Y}+1)}|{strf:%Y}}}
{=(Cdate):{strf({strf:%Y}-{strf:%m}{date}):%s}}
{=(output):{if({unix}<{Cdate}):td:{strf:%Y}-{strf:%m}{date}|{if({m:trunc({unix}-86400)}<{Cdate}):{title}|td:{year}-{month}{date}}}}

Embed

1 line
{"color": 5198940, "title": "{emoji} {title} Countdown! {emoji}", "description": "{{output}}"}
Raw JSON
{
  "id": 106587,
  "created_at": "2020-01-09T07:20:32.000Z",
  "tag_name": "fotm",
  "nsfw": false,
  "owner_id": "129419437911572480",
  "uses": 1,
  "description": "A variation on my holidaycd tag, this one counts down to a specific day of the month set in the date variable.",
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "632187193162465281",
  "sharer": "129419437911572480",
  "content": "{=(guide):\nChange the 4 variables below to edit the holiday and date:\n`title` is the name of the day,\n`emoji` is the emoji you want on either side of the countdown title.\n`date` is the day of the month to count down to: -DD HH:MM:SS \n`color` is the hex color you want on the side of the embed}\n\n{=(title):The First of the Month}\n{=(emoji):1️⃣}\n{=(date):-01 00:00:00}\n{=(color):#FF0000}\n\n{=(comment):Don't change anything below}\n{embed(color):{color}}\n{=({title}):It's {title}!}\n{=(month):{if({strf:%-m}==12):01|{if({strf:%-m}<9):0}{m:trunc({strf:%m}+1)}}}\n{=(year):{if({month}==01):{m:trunc({strf:%Y}+1)}|{strf:%Y}}}\n{=(Cdate):{strf({strf:%Y}-{strf:%m}{date}):%s}}\n{=(output):{if({unix}<{Cdate}):td:{strf:%Y}-{strf:%m}{date}|{if({m:trunc({unix}-86400)}<{Cdate}):{title}|td:{year}-{month}{date}}}}",
  "embed": "{\"color\": 5198940, \"title\": \"{emoji} {title} Countdown! {emoji}\", \"description\": \"{{output}}\"}",
  "last_fetched": "2026-10-20T20:51:35.015Z"
}