diff --git a/bot/__main__.py b/bot/__main__.py index 67edb53ce8e..47cf0c32cb3 100644 --- a/bot/__main__.py +++ b/bot/__main__.py @@ -5,6 +5,8 @@ from bot import app from os import execl, kill, path, remove from sys import executable +from datetime import datetime +import pytz import time from telegram import ParseMode from telegram.ext import CommandHandler, run_async @@ -21,7 +23,7 @@ @run_async def stats(update, context): currentTime = get_readable_time((time.time() - botStartTime)) - current = now.strftime('%Y/%m/%d %I:%M:%S') + current = now.strftime('%Y/%m/%d %I:%M:%S %p') total, used, free = shutil.disk_usage('.') total = get_readable_file_size(total) used = get_readable_file_size(used)