update sysinfo.py
This commit is contained in:
parent
43bd54f5d0
commit
9a4574113e
@ -8,14 +8,15 @@ import uuid
|
|||||||
import psutil
|
import psutil
|
||||||
from pyrogram import Client, filters
|
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.decorators import sudo_users_only, humanbytes
|
||||||
from helpers.filters import command
|
from helpers.filters import command
|
||||||
|
|
||||||
|
|
||||||
# FETCH SYSINFO
|
# 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
|
@sudo_users_only
|
||||||
async def give_sysinfo(client, message):
|
async def give_sysinfo(client, message):
|
||||||
splatform = platform.system()
|
splatform = platform.system()
|
||||||
|
Loading…
Reference in New Issue
Block a user