I only know the basics of Nightbot and would appreciate any help to make this a reality for the chat!
The joke is essentially to have a “Days since streamer said xyz” command that automatically counts up once a day. I originally found this post, using nightbot to count how many days it has been since OP’s wedding… but as you can imagine they didn’t ask if they could have mods reset it.
This is the OG solution by Ritik_Ranjan
!addcom -cd=5 !married It has been days since our wedding: $(eval date = new Date(); Math.floor((date.getTime() - 1596825000000 ) / ( 1000 * 3600 * 24)))
Does anyone have any suggestions for the reset command? Ideally we would have !howlong (available to all users), and !reset (available to mods only), something like this;
Nightbot: It has been (value) since streamer said xyz
Also, this is more of the cherry on top, and I could do it manually if it’s too much work. But is there a way for !howlong to not only count up and reset… but also keep a high score? Like I said I can do this manually by looking at the command before resetting and keeping track with another command, but I know there has to be a better way.
and if somehow your brain is large enough to also get a highscore in there then I would be looking for something like
Nightbot: It has been (value) since streamer said xyz / HIGHSCORE: (value)
Many thanks in advance.