timestamp

Privateunrated

Content

14 lines
{=(Comment):Below Timing are in UTC 24 Hrs clock. Change it as per UTC timing}
{=(time.from):18:00:00}
{=(time.to):21:00:00}

{=(Comment):Change below channel id with any channel id in your server where other users does not have permission to send messages.}
{=(channelid):685174198951477294}

{=(Comment):Do not touch.}
{=(timefrom.num):{strf({strf:%Y-%m-%d} {time.from}):%s}}
{=(timeto.num):{strf({strf:%Y-%m-%d} {time.to}):%s}}
{=(timeto.num):{if({timefrom.num}<{timeto.num}):{timeto.num}|{strf({strf({m:trunc({unix}+84200)}):%Y-%m-%d} {time.to}):%s}}}

{=(Comment):You can use below require block to add role or even other channel separated by 'comma'.}
{require:{all({timefrom.num}<={unix}|{unix}<={timeto.num}):{channel(id)}|{channelid}}}
Raw JSON
{
  "id": 476191,
  "created_at": "2020-12-09T23:26:24.000Z",
  "tag_name": "timestamp",
  "nsfw": false,
  "owner_id": "153063253189066752",
  "uses": 2,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "786369420658343966",
  "sharer": "153063253189066752",
  "content": "{=(Comment):Below Timing are in UTC 24 Hrs clock. Change it as per UTC timing}\n{=(time.from):18:00:00}\n{=(time.to):21:00:00}\n\n{=(Comment):Change below channel id with any channel id in your server where other users does not have permission to send messages.}\n{=(channelid):685174198951477294}\n\n{=(Comment):Do not touch.}\n{=(timefrom.num):{strf({strf:%Y-%m-%d} {time.from}):%s}}\n{=(timeto.num):{strf({strf:%Y-%m-%d} {time.to}):%s}}\n{=(timeto.num):{if({timefrom.num}<{timeto.num}):{timeto.num}|{strf({strf({m:trunc({unix}+84200)}):%Y-%m-%d} {time.to}):%s}}}\n\n{=(Comment):You can use below require block to add role or even other channel separated by 'comma'.}\n{require:{all({timefrom.num}<={unix}|{unix}<={timeto.num}):{channel(id)}|{channelid}}}",
  "embed": "{}",
  "last_fetched": "2026-10-20T23:27:38.791Z"
}