Convert time differences to int when formatting
This commit is contained in:
parent
d3c8ed1404
commit
6c7372441b
1 changed files with 2 additions and 1 deletions
|
|
@ -225,8 +225,9 @@ class Bot():
|
|||
"""
|
||||
|
||||
if not delta:
|
||||
delta = int(time.time() - self.start_time)
|
||||
delta = time.time() - self.start_time
|
||||
|
||||
delta = int(delta)
|
||||
uptime = ""
|
||||
|
||||
if delta < 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue