[check] some checks

This commit is contained in:
levina 2022-02-28 04:55:47 +07:00 committed by GitHub
parent 4a633ae802
commit 7d26fcfcf0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,7 @@ from pyrogram.types import Message
@Client.on_message(command(["sysinfo", f"sysinfo@{BOT_USERNAME}"]) & ~filters.edited) @Client.on_message(command(["sysinfo", f"sysinfo@{BOT_USERNAME}"]) & ~filters.edited)
@sudo_users_only @sudo_users_only
async def give_sysinfo(c: Client, message: Message): async def fetch_system_information(client, message):
splatform = platform.system() splatform = platform.system()
platform_release = platform.release() platform_release = platform.release()
platform_version = platform.version() platform_version = platform.version()
@ -72,6 +72,7 @@ async def give_sysinfo(c: Client, message: Message):
**CPU FREQ :** `{cpu_freq}` **CPU FREQ :** `{cpu_freq}`
**DISK :** `{disk}` **DISK :** `{disk}`
""" """
await message.reply(somsg) await message.reply(somsg)