dreset

Privateunrated

Content

23 lines

{=(time.hour):{if({1}!=):{1}|{strf:%H}}}

{=(isPreMid):{and({time.hour}>=05|{time.hour}<24):true|false}}

{=(unixDiff):{if({isPreMid}==true):{m:trunc(((24-{time.hour})*60*60)+((60-{strf:%M})*60)+(5*3600))}|{m:trunc(((5-{time.hour})*60*60)+((60-{strf:%M})*60))}}}
{=(timeRemaining):{replace(seconds,secondes):{replace( ago,):{replace(second,seconde):{replace(and,et):{replace(hour,heure):{replace(hours,heures):{td({m:trunc({unix}-{unixDiff})}):{strf:%F %T}}}}}}}}}

{=(output):Temps restant avant le [reset](https://genshin-impact.fandom.com/wiki/World_Reset_Timers "World Reset Timers Wiki") journalier, {user(mention)} :
── {timeRemaining} ──}

{=(footer):Heure du reset : 5 heure du matin}

{embed(color):#7247FD}

{=(debug):__Debug:__
time.hour: {time.hour}
isPreMid: {isPreMid}
unixDiff: {unixDiff}
timeRemaining: {timeRemaining}
}
{debug}

Embed

1 line
{"color": 7489533, "footer": {"text": "{footer}"}, "description": "{output}"}
Raw JSON
{
  "id": 364783,
  "created_at": "2020-10-08T09:10:15.000Z",
  "tag_name": "dreset",
  "nsfw": false,
  "owner_id": "149926720114262016",
  "uses": 25,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "314660900302749696",
  "sharer": "149926720114262016",
  "content": "\n{=(time.hour):{if({1}!=):{1}|{strf:%H}}}\n\n{=(isPreMid):{and({time.hour}>=05|{time.hour}<24):true|false}}\n\n{=(unixDiff):{if({isPreMid}==true):{m:trunc(((24-{time.hour})*60*60)+((60-{strf:%M})*60)+(5*3600))}|{m:trunc(((5-{time.hour})*60*60)+((60-{strf:%M})*60))}}}\n{=(timeRemaining):{replace(seconds,secondes):{replace( ago,):{replace(second,seconde):{replace(and,et):{replace(hour,heure):{replace(hours,heures):{td({m:trunc({unix}-{unixDiff})}):{strf:%F %T}}}}}}}}}\n\n{=(output):Temps restant avant le [reset](https://genshin-impact.fandom.com/wiki/World_Reset_Timers \"World Reset Timers Wiki\") journalier, {user(mention)} :\n── {timeRemaining} ──}\n\n{=(footer):Heure du reset : 5 heure du matin}\n\n{embed(color):#7247FD}\n\n{=(debug):__Debug:__\ntime.hour: {time.hour}\nisPreMid: {isPreMid}\nunixDiff: {unixDiff}\ntimeRemaining: {timeRemaining}\n}\n{debug}\n",
  "embed": "{\"color\": 7489533, \"footer\": {\"text\": \"{footer}\"}, \"description\": \"{output}\"}",
  "last_fetched": "2026-10-20T22:41:47.419Z"
}