hide some info for ping

This commit is contained in:
Benny 2023-04-15 13:41:53 +02:00
parent f8fa6724dc
commit 4c337fae41
No known key found for this signature in database
GPG key ID: 6CD0DBDA5235D481

View file

@ -204,7 +204,7 @@ def ping_handler(client: "Client", message: "types.Message"):
stats = BotText.ping_worker()[:1000]
client.send_document(chat_id, redis.generate_file(), caption=f"{bot_info}\n\n{stats}")
else:
client.send_message(chat_id, f"{bot_info}")
client.send_message(chat_id, f"{bot_info.split('CPU')[0]}")
@app.on_message(filters.command(["sub_count"]))