bday

Privateunrated

Content

20 lines
{=(msg):It's {user(mention)}'s birthday today! Make sure to wish them a happy birthday!!!!}

{=():}
{=(L1):{lower:{args(1)}}}
{=(months):January February March April May June July August September October November December}
{=(month):{all({L1}!=|{in({L1}):{lower:{months}}}==true):{index({L1}):{replace({L1},. {L1} .):{lower:{months}}}}|-1}}

{=(days):{if({month}==-1):-1|{if({month}==2):29|{m:trunc(28+({month}+trunc({month}/8))%2+2%{month}+2*trunc(1/{month}))}}}}
{=(num):{if({2}=={m:trunc({2}/1)}):{2}|0}}
{=(day):{all({num}>0|{num}<={days}):{num}|error}}

{=(noposs):The day and/or month you specified don't match. Please try again. Example Reminder: ``{pref}{tagn} July 26``}
{=(success):**{user}**, you have successfully added your birthday on this server! }
{=(poss):{if({day}==error):noposs|success}}

{override}{silence}

{{if({poss}==success):c:autofeed silent {month}/{day} 15:00 {msg}}}
{{poss}}
Raw JSON
{
  "id": 108587,
  "created_at": "2020-01-14T01:32:54.000Z",
  "tag_name": "bday",
  "nsfw": false,
  "owner_id": "196498508784730113",
  "uses": 27,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "645804697223168011",
  "sharer": "196498508784730113",
  "content": "{=(msg):It's {user(mention)}'s birthday today! Make sure to wish them a happy birthday!!!!}\n\n{=():}\n{=(L1):{lower:{args(1)}}}\n{=(months):January February March April May June July August September October November December}\n{=(month):{all({L1}!=|{in({L1}):{lower:{months}}}==true):{index({L1}):{replace({L1},. {L1} .):{lower:{months}}}}|-1}}\n\n{=(days):{if({month}==-1):-1|{if({month}==2):29|{m:trunc(28+({month}+trunc({month}/8))%2+2%{month}+2*trunc(1/{month}))}}}}\n{=(num):{if({2}=={m:trunc({2}/1)}):{2}|0}}\n{=(day):{all({num}>0|{num}<={days}):{num}|error}}\n\n{=(noposs):The day and/or month you specified don't match. Please try again. Example Reminder: ``{pref}{tagn} July 26``}\n{=(success):**{user}**, you have successfully added your birthday on this server! }\n{=(poss):{if({day}==error):noposs|success}}\n\n{override}{silence}\n\n{{if({poss}==success):c:autofeed silent {month}/{day} 15:00 {msg}}}\n{{poss}}\n",
  "embed": "{}",
  "last_fetched": "2026-10-20T20:52:38.414Z"
}