Finding out the days, hours, minutes and seconds the bot has been up for?

后端 未结 0 1162
忘了有多久
忘了有多久 2021-02-12 22:29
with proc.oneshot():
    uptime = timedelta(seconds=time() - proc.create_time())
    uptime_minutes, uptime_seconds = divmod(uptim         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题