@run_async
def ping(bot: Bot, update: Update):
    start_time = time.time()
    requests.get('https://api.telegram.org')
    end_time = time.time()
    ping_time = str((round((end_time - start_time), 2) % 60))
    uptime = get_readable_time((time.time() - StartTime))
    update.effective_message.reply_text(f'''🏓 Pong!
⏱️<b>Reply took:</b> {ping_time}s
🔮<b>Service Uptime:</b> {uptime}''', parse_mode=ParseMode.HTML)
@run_async
def ping(bot: Bot, update: Update):
    start_time = time.time()
    requests.get('https://api.telegram.org')
    end_time = time.time()
    ping_time = str((round((end_time - start_time), 2) % 60))
    uptime = get_readable_time((time.time() - StartTime))
    update.effective_message.reply_text(f'🏓 Pong!
⏱️<b>Reply took:</b> {ping_time}s
🔮<b>Service Uptime:</b> {uptime}', parse_mode=ParseMode.HTML)