mirror of
https://github.com/tgbot-collection/ytdlbot.git
synced 2024-09-20 15:05:56 +08:00
hide some info for ping
This commit is contained in:
parent
f8fa6724dc
commit
4c337fae41
|
@ -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"]))
|
||||
|
|
Loading…
Reference in a new issue