next

Outputs the date for the day of the week you follow the tag with. Can detect short versions of the names of the days of the week. Examples: !next friday !next wed !next Sun

Sharedunrated

Content

6 lines
{=(largs1):{lower:{args(1)}}}
{=(day):86400}
{=(DotW):{lower:{strf({m:trunc({unix}+({day}))}):%A} {strf({m:trunc({unix}+({day}*2))}):%A} {strf({m:trunc({unix}+({day}*3))}):%A} {strf({m:trunc({unix}+({day}*4))}):%A} {strf({m:trunc({unix}+({day}*5))}):%A} {strf({m:trunc({unix}+({day}*6))}):%A} {strf:%A}}}
{=(dayindex):{index({largs1}):{replace({largs1},. {largs1} .):{DotW}}}}
{=(nextday):strf({m:trunc({unix}+({dayindex}*{day}))})}
{if({dayindex}!=-1):Next {{nextday}:%A} is {{nextday}:%B} {ord:{{nextday}:%-d}} {{nextday}:%Y}|Follow the `next` tag with a day of the week.}
Raw JSON
{
  "id": 97721,
  "created_at": "2019-12-11T19:11:00.000Z",
  "tag_name": "next",
  "nsfw": false,
  "owner_id": "129419437911572480",
  "uses": 20,
  "description": "Outputs the date for the day of the week you follow the tag with. Can detect short versions of the names of the days of the week.\nExamples: \n!next friday\n!next wed\n!next Sun",
  "restricted": false,
  "shared": true,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "518252334975811604",
  "sharer": "129419437911572480",
  "content": "{=(largs1):{lower:{args(1)}}}\n{=(day):86400}\n{=(DotW):{lower:{strf({m:trunc({unix}+({day}))}):%A} {strf({m:trunc({unix}+({day}*2))}):%A} {strf({m:trunc({unix}+({day}*3))}):%A} {strf({m:trunc({unix}+({day}*4))}):%A} {strf({m:trunc({unix}+({day}*5))}):%A} {strf({m:trunc({unix}+({day}*6))}):%A} {strf:%A}}}\n{=(dayindex):{index({largs1}):{replace({largs1},. {largs1} .):{DotW}}}}\n{=(nextday):strf({m:trunc({unix}+({dayindex}*{day}))})}\n{if({dayindex}!=-1):Next {{nextday}:%A} is {{nextday}:%B} {ord:{{nextday}:%-d}} {{nextday}:%Y}|Follow the `next` tag with a day of the week.}",
  "embed": "{}",
  "last_fetched": "2026-10-20T20:46:45.825Z"
}