From afd097cb18eca789a9118c053ba29f21880b6543 Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Fri, 25 Feb 2022 11:31:06 +0700 Subject: [PATCH] [check] some fixes --- program/sysinfo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/program/sysinfo.py b/program/sysinfo.py index bf5b36c..72bdf42 100644 --- a/program/sysinfo.py +++ b/program/sysinfo.py @@ -25,16 +25,16 @@ import psutil import platform from config import BOT_USERNAME - from driver.filters import command from driver.decorators import sudo_users_only, humanbytes from pyrogram import Client, filters +from pyrogram.types import Message @Client.on_message(command(["sysinfo", f"sysinfo@{BOT_USERNAME}"]) & ~filters.edited) @sudo_users_only -async def give_sysinfo(client, message): +async def give_sysinfo(c: Client, message: Message): splatform = platform.system() platform_release = platform.release() platform_version = platform.version()