BetterDiscord-Animated-Status icon indicating copy to clipboard operation
BetterDiscord-Animated-Status copied to clipboard

How does the time thing work?

Open zeroapox opened this issue 3 years ago • 2 comments

I honestly dont know what to do with "eval let fmt=t=>(t<10?'0':'')+t;let d=new Date();${fmt(d.getHours())}:${fmt(d.getMinutes())}:${fmt(d.getSeconds())};" and its kinda bugging me out. Can anyone tell me what to do?

zeroapox avatar Mar 30 '21 01:03 zeroapox

Change the edit mode of the status changer and put this in

"eval let fmt=t=>(t<10?'0':'')+t;let d=new Date();${fmt(d.getHours())}:${fmt(d.getMinutes())};","eval ['🕛','🕐','🕑','🕒','🕓','🕔','🕕','🕖','🕗','🕘','🕙','🕚'][((new Date()).getHours()%12)];"

And make the update time to 60000

Firefox289 avatar Apr 02 '21 07:04 Firefox289

nevermind put this in

"eval let fmt=t=>(t<10?'0':'')+t;let d=new Date();${fmt(d.getHours()% 12 || 12)}:${fmt(d.getMinutes())};","eval ['🕛','🕐','🕑','🕒','🕓','🕔','🕕','🕖','🕗','🕘','🕙','🕚'][((new Date()).getHours()%12)];"

Firefox289 avatar Apr 02 '21 17:04 Firefox289