birthday

Privateunrated

Content

22 lines
{=(comment):Here you can change the announcement that gets posted in the {=(msg)} section. You do not need to change anything else in this tag aside from time at the bottom, as explained in the share link description.}
{=(msg):πŸŽ‰ It's {user(mention)}'s birthday today πŸŽ‰! Make sure to wish them a happy birthday!!!!}
{=(pref):-}
{=(tag):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} 08:00 {msg}}}
{{poss}}
Raw JSON
{
  "id": 207396,
  "created_at": "2022-04-26T10:36:25.821Z",
  "tag_name": "birthday",
  "nsfw": false,
  "owner_id": "662019607275634689",
  "uses": 6,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "717041234140594236",
  "sharer": "662019607275634689",
  "content": "{=(comment):Here you can change the announcement that gets posted in the {=(msg)} section. You do not need to change anything else in this tag aside from time at the bottom, as explained in the share link description.}\n{=(msg):πŸŽ‰ It's {user(mention)}'s birthday today πŸŽ‰! Make sure to wish them a happy birthday!!!!}\n{=(pref):-}\n{=(tag):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} 08:00 {msg}}}\n{{poss}}",
  "embed": "{}",
  "last_fetched": "2026-10-20T21:38:41.368Z"
}