#Storing bot uptime for total in the current week and month

7 messages · Page 1 of 1 (latest)

tardy craterBOT
#
  • Consider reading #how-to-get-help to improve your question!
  • Explain what exactly your issue is.
  • Post the full error stack trace, not just the top part!
  • Show your code!
  • Issue solved? Press the button!
main wadi
sharp trout
#

why not just save start time and calculate current time - start time for duration when you run the command

main wadi
#

Huh.. I actually didnt even think about that

#

Thank you, thats actually way better

#

Wait but then when should the start time be saved? When the bot goes on hosting and starts for the first time there?