From 7d26fcfcf0e6da8830b47c0933674ad2f4ad454c Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Mon, 28 Feb 2022 04:55:47 +0700 Subject: [PATCH] [check] some checks --- program/sysinfo.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/program/sysinfo.py b/program/sysinfo.py index 8d4b45e..83e72a5 100644 --- a/program/sysinfo.py +++ b/program/sysinfo.py @@ -38,7 +38,7 @@ from pyrogram.types import Message @Client.on_message(command(["sysinfo", f"sysinfo@{BOT_USERNAME}"]) & ~filters.edited) @sudo_users_only -async def give_sysinfo(c: Client, message: Message): +async def fetch_system_information(client, message): splatform = platform.system() platform_release = platform.release() platform_version = platform.version() @@ -72,6 +72,7 @@ async def give_sysinfo(c: Client, message: Message): **CPU FREQ :** `{cpu_freq}` **DISK :** `{disk}` """ + await message.reply(somsg)