From 9a4574113eee0d77c74e9b26acdabec31b8a5ff7 Mon Sep 17 00:00:00 2001 From: zxce3 Date: Sun, 12 Sep 2021 11:35:21 +0700 Subject: [PATCH] update sysinfo.py --- bot/sysinfo.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bot/sysinfo.py b/bot/sysinfo.py index abfbf41..b9a7c5f 100644 --- a/bot/sysinfo.py +++ b/bot/sysinfo.py @@ -8,14 +8,15 @@ import uuid import psutil from pyrogram import Client, filters -from config import BOT_USERNAME +# from config import Veez.BOT_USERNAME +from config import Veez from helpers.decorators import sudo_users_only, humanbytes from helpers.filters import command # FETCH SYSINFO -@Client.on_message(command(["sysinfo", f"sysinfo@{BOT_USERNAME}"]) & ~filters.edited) +@Client.on_message(command(["sysinfo", f"sysinfo@{Veez.BOT_USERNAME}"]) & ~filters.edited) @sudo_users_only async def give_sysinfo(client, message): splatform = platform.system()