If everything goes right then Nightbot will respond like this:- The command "!married" has been added successfully.
Example Usages:
Ritik: !married
Nightbot: It has been days since our wedding: 3 months 3 days 22 hours 15 minutes 26 seconds.
Anyway, hope this will help and Happy Married Life. May God bless you both :)
Free Snake
Maple Goose said: !addcom -cd=5 !married It has been days since our wedding: $(countup Aug 08 2020 12:00:00 AM Asia/Kolkata).
Thanks! Appreciate it. Is there a way to make it just days in a whole number? If it's not too much trouble.
Appreciate the helpfulness and wholesomeness :)
Maple Goose
@Free Snake Oh yeah! It should count the number of days, sorry my bad. Try this,
!addcom -cd=5 !married It has been days since our wedding: $(eval date = new Date(); Math.floor((date.getTime() - 1596825000000 ) / ( 1000 * 3600 * 24)))