remotes/1693045480750635534/spooky-22
fireworks88 2021-07-28 22:51:29 +02:00
parent 01c08f95d5
commit 69a010e2a6
1 changed files with 2 additions and 2 deletions

View File

@ -285,7 +285,7 @@ class User(Base, Stndrd, Age_times):
wait = self.unban_utc - int(time.time())
if wait < 60:
text = "a few moments"
text = f"{wait}s"
else:
days = wait//(24*60*60)
wait -= days*24*60*60
@ -295,7 +295,7 @@ class User(Base, Stndrd, Age_times):
mins = wait//60
text = f"{days} days {hours:02d} hours {mins:02d} minutes"
text = f"{days}d {hours:02d}h {mins:02d}m"
return f"Unban in {text}"